mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
Merge pull request #11750 from pmorie/debug-examples-test
Make examples test easier to debug
This commit is contained in:
commit
9fef5649fe
@ -365,8 +365,7 @@ func TestExampleObjectSchemas(t *testing.T) {
|
|||||||
t.Errorf("Expected no error, Got %v", err)
|
t.Errorf("Expected no error, Got %v", err)
|
||||||
}
|
}
|
||||||
if tested != len(expected) {
|
if tested != len(expected) {
|
||||||
t.Logf("failing path: %q", path)
|
t.Errorf("Directory %v: Expected %d examples, Got %d", path, len(expected), tested)
|
||||||
t.Errorf("Expected %d examples, Got %d", len(expected), tested)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user