X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/89a3090417e1f8241497a1d26425df9c5d2cb3ba..19f96717d0a7f26c28f8e5c61417c4246cfcffe1:/lib/config/load_test.go diff --git a/lib/config/load_test.go b/lib/config/load_test.go index 91bd6a7439..6c11ee7803 100644 --- 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) + return logbuf.String() } func checkEqualYAML(c *check.C, got, expected interface{}) {