From 4c263413cc59c13cd29c586938c229c5d60dc584 Mon Sep 17 00:00:00 2001 From: Charlie Voiselle Date: Tue, 5 Dec 2017 12:04:11 -0500 Subject: [PATCH] Inspect returns json, not cli formatted output --- command/namespace_inspect_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/namespace_inspect_test.go b/command/namespace_inspect_test.go index 20a0ef26b..0e8b624fd 100644 --- a/command/namespace_inspect_test.go +++ b/command/namespace_inspect_test.go @@ -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) } }