grim/convey

Make test deterministic.

2017-09-14, Eric Fritz
52fc7651ae43
Parents 489af30a115d
Children 9937ef03ba5f
Make test deterministic.
--- a/loaders/convey/environment_test.go Tue Sep 12 23:05:10 2017 -0500
+++ b/loaders/convey/environment_test.go Thu Sep 14 18:32:15 2017 -0500
@@ -76,7 +76,7 @@
`
loader.LoadOverride(".", ".", []byte(overrideData), cfg)
- Expect(cfg.Environment).To(Equal([]string{"foo=bar", "baz"}))
+ Expect(cfg.Environment).To(ConsistOf([]string{"foo=bar", "baz"}))
}
func (e *environmentSuite) TestEnvironmentUnmarshalGlobalOverrideString(t sweet.T) {