~wwitzel3/juju-core/009-ha-rsyslog-api

« back to all changes in this revision

Viewing changes to constraints/validation_test.go

  • Committer: Wayne Witzel III
  • Date: 2014-05-22 13:23:37 UTC
  • mfrom: (2743.1.10 ha-rsyslog-api)
  • Revision ID: wayne.witzel@canonical.com-20140522132337-m9py79a81mjdm9su
merge mfoord

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
                unsupported, err := validator.Validate(cons)
127
127
                if t.err == "" {
128
128
                        c.Assert(err, gc.IsNil)
129
 
                        c.Assert(unsupported, jc.DeepEquals, t.unsupported)
 
129
                        c.Assert(unsupported, jc.SameContents, t.unsupported)
130
130
                } else {
131
131
                        c.Assert(err, gc.ErrorMatches, t.err)
132
132
                }