From 3cd90eb3d932037b141d4daff9a012e1aee7e765 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 21 Apr 2014 10:31:10 -0600 Subject: [PATCH] Added quotes around expected/actual output --- common_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common_test.go b/common_test.go index 219f09e..fc7db15 100644 --- a/common_test.go +++ b/common_test.go @@ -11,7 +11,7 @@ type testList []struct { func (tl testList) validate(t *testing.T) { for _, test := range tl { if test.got != test.exp { - t.Errorf("On %v, expected %v, but got %v", + t.Errorf("On %v, expected '%v', but got '%v'", test.name, test.exp, test.got) } }