Commit 13713fda authored by Paul Morie's avatar Paul Morie

Make examples test easier to debug

parent 11540c4b
...@@ -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