mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-07 09:43:15 +00:00
flush current namespace when resources are not found
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user