flush current namespace when resources are not found

This commit is contained in:
Sukeesh
2019-07-10 16:12:48 +09:00
parent 88808aa89f
commit b7d2478ac9
2 changed files with 3 additions and 2 deletions

View File

@@ -513,7 +513,7 @@ func TestGetEmptyTable(t *testing.T) {
if e, a := expected, buf.String(); e != a {
t.Errorf("expected\n%v\ngot\n%v", e, a)
}
expectedErr := `No resources found.
expectedErr := `No resources found in test namespace.
`
if e, a := expectedErr, errbuf.String(); e != a {
t.Errorf("expectedErr\n%v\ngot\n%v", e, a)