From 13713fda7291d18aebe6c4454de800ac59979a00 Mon Sep 17 00:00:00 2001 From: Paul Morie Date: Thu, 23 Jul 2015 10:38:39 -0400 Subject: [PATCH] Make examples test easier to debug --- examples/examples_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/examples_test.go b/examples/examples_test.go index f244e71a30a..48b42f02dba 100644 --- a/examples/examples_test.go +++ b/examples/examples_test.go @@ -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) } } }