diff options
author | spf13 <steve.francia@gmail.com> | 2014-11-04 00:32:55 -0500 |
---|---|---|
committer | spf13 <steve.francia@gmail.com> | 2014-11-04 00:32:55 -0500 |
commit | 3616d16701d374af33c551fe56a1baeadeb50460 (patch) | |
tree | bc3f54145353525c96dc3226c4cba3e671e11c49 /hugolib/site_show_plan_test.go | |
parent | 07f2ef9c5e1171934c5abb1001b821bdd946d768 (diff) |
Better error messages for show_plan_test
Diffstat (limited to 'hugolib/site_show_plan_test.go')
-rw-r--r-- | hugolib/site_show_plan_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/site_show_plan_test.go b/hugolib/site_show_plan_test.go index 801738ca3..d694e68bf 100644 --- a/hugolib/site_show_plan_test.go +++ b/hugolib/site_show_plan_test.go @@ -47,13 +47,13 @@ func checkShowPlanExpected(t *testing.T, s *Site, expected string) { for _, x := range gotList { if !stringInSlice(x, expectedList) { - t.Errorf("\nShowPlan expected:\n%q\ngot:\n%q", expected, got) + t.Errorf("%v %v %v %v", "\nShowPlan expected:\n", expected, "\ngot:\n", got) } } for _, x := range expectedList { if !stringInSlice(x, gotList) { - t.Errorf("\nShowPlan expected:\n%q\ngot:\n%q", expected, got) + t.Errorf("%v %v %v %v", "\nShowPlan expected:\n", expected, "\ngot:\n", got) } } } |