~juju-qa/ubuntu/xenial/juju/2.0-rc2

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/provider/vsphere/environ_policy_test.go

  • Committer: Nicholas Skaggs
  • Date: 2016-09-30 14:39:30 UTC
  • mfrom: (1.8.1)
  • Revision ID: nicholas.skaggs@canonical.com-20160930143930-vwwhrefh6ftckccy
import upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
 
58
58
        cons := constraints.MustParse("arch=ppc64el")
59
59
        _, err = validator.Validate(cons)
60
 
        c.Check(err, jc.ErrorIsNil)
 
60
        c.Check(err, gc.ErrorMatches, "invalid constraint value: arch=ppc64el\nvalid values are:.*")
61
61
}
62
62
 
63
63
func (s *environPolSuite) TestSupportNetworks(c *gc.C) {