16392: Add trailing slash to URLs like https://example in configs.
[arvados.git] / lib / config / cmd_test.go
index 3c420a04eb43e28e39fa69f8e1baa3330b803d64..74c3cc96947a88b4617f1e8f1fc8acece159fd79 100644 (file)
@@ -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) {