projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '17590-ec2-config-keys'
[arvados.git]
/
lib
/
config
/
load_test.go
diff --git
a/lib/config/load_test.go
b/lib/config/load_test.go
index 91bd6a74392564e14b98e35bae96e872f7de8a79..6c11ee7803116ab2df30f2050f23f7ce6580a9fc 100644
(file)
--- a/
lib/config/load_test.go
+++ b/
lib/config/load_test.go
@@
-437,10
+437,12
@@
Clusters:
`)
}
`)
}
-func checkEquivalent(c *check.C, goty, expectedy string) {
- gotldr := testLoader(c, goty, nil)
+func checkEquivalent(c *check.C, goty, expectedy string) string {
+ var logbuf bytes.Buffer
+ gotldr := testLoader(c, goty, &logbuf)
expectedldr := testLoader(c, expectedy, nil)
checkEquivalentLoaders(c, gotldr, expectedldr)
expectedldr := testLoader(c, expectedy, nil)
checkEquivalentLoaders(c, gotldr, expectedldr)
+ return logbuf.String()
}
func checkEqualYAML(c *check.C, got, expected interface{}) {
}
func checkEqualYAML(c *check.C, got, expected interface{}) {