mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 08:55:43 +03:00
Merge pull request #3618 from hashicorp/b_fix_ns_inspect_test
Fix Test: Inspect returns json, not cli formatted output
This commit is contained in:
@@ -130,7 +130,7 @@ func TestNamespaceInspectCommand_NamespaceMatchesPrefix(t *testing.T) {
|
||||
}
|
||||
// Check to ensure we got the proper foo
|
||||
out := ui.OutputWriter.String()
|
||||
if !strings.Contains(out, "= foo\n") {
|
||||
if !strings.Contains(out, "\"foo\",\n") {
|
||||
t.Fatalf("expected namespace foo, got: %s", out)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user