X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fb72a4315bfcf64621d023a38d1544319aa3666c..a13547aec78a75da2174e083f6015280787cd597:/lib/config/cmd_test.go diff --git a/lib/config/cmd_test.go b/lib/config/cmd_test.go index c275e4c35b..74c3cc9694 100644 --- a/lib/config/cmd_test.go +++ b/lib/config/cmd_test.go @@ -10,7 +10,7 @@ import ( "io/ioutil" "os" - "git.curoverse.com/arvados.git/lib/cmd" + "git.arvados.org/arvados.git/lib/cmd" check "gopkg.in/check.v1" ) @@ -148,7 +148,7 @@ Clusters: code := DumpCommand.RunCommand("arvados config-dump", []string{"-config", "-"}, bytes.NewBufferString(in), &stdout, &stderr) c.Check(code, check.Equals, 0) c.Check(stdout.String(), check.Matches, `(?ms).*TimeoutBooting: 10m\n.*`) - c.Check(stdout.String(), check.Matches, `(?ms).*http://localhost:12345: {}\n.*`) + c.Check(stdout.String(), check.Matches, `(?ms).*http://localhost:12345/: {}\n.*`) } func (s *CommandSuite) TestDump_UnknownKey(c *check.C) { @@ -162,7 +162,7 @@ Clusters: code := DumpCommand.RunCommand("arvados config-dump", []string{"-config", "-"}, bytes.NewBufferString(in), &stdout, &stderr) c.Check(code, check.Equals, 0) c.Check(stderr.String(), check.Matches, `(?ms).*deprecated or unknown config entry: Clusters.z1234.UnknownKey.*`) - c.Check(stdout.String(), check.Matches, `(?ms)Clusters:\n z1234:\n.*`) + c.Check(stdout.String(), check.Matches, `(?ms)(.*\n)?Clusters:\n z1234:\n.*`) c.Check(stdout.String(), check.Matches, `(?ms).*\n *ManagementToken: secret\n.*`) c.Check(stdout.String(), check.Not(check.Matches), `(?ms).*UnknownKey.*`) }