mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +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)
|
||||
}
|
||||
if tested != len(expected) {
|
||||
t.Logf("failing path: %q", path)
|
||||
t.Errorf("Expected %d examples, Got %d", len(expected), tested)
|
||||
t.Errorf("Directory %v: Expected %d examples, Got %d", path, len(expected), tested)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user