mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Fix namespace_test error message
This commit is contained in:
parent
faffbe4e18
commit
2f7a1612db
@ -80,7 +80,7 @@ func TestNamespaceGenerate(t *testing.T) {
|
||||
t.Errorf("%v: expected error and didn't get one", index)
|
||||
continue // loop, no expected output object
|
||||
case !test.expectErr && err != nil:
|
||||
t.Errorf("%v: expected error and didn't get one", index)
|
||||
t.Errorf("%v: unexpected error %v", index, err)
|
||||
continue // loop, no output object
|
||||
case !test.expectErr && err == nil:
|
||||
// do nothing and drop through
|
||||
|
Loading…
Reference in New Issue
Block a user