Commit 9fef5649 authored by Vish Kannan's avatar Vish Kannan

Merge pull request #11750 from pmorie/debug-examples-test

Make examples test easier to debug
parents ce62d35e 13713fda
...@@ -365,8 +365,7 @@ func TestExampleObjectSchemas(t *testing.T) { ...@@ -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)
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment