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:
Preetha
2017-12-05 12:41:04 -06:00
committed by GitHub

View File

@@ -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)
}
}