Make examples test easier to debug

pull/6/head
Paul Morie 2015-07-23 10:38:39 -04:00
parent 11540c4b3f
commit 13713fda72
1 changed files with 1 additions and 2 deletions

View File

@ -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)
}
}
}