From d21c8368ab12a62c835682a653bf3d873e4da504 Mon Sep 17 00:00:00 2001 From: Ivan Malopinsky Date: Tue, 24 Oct 2017 21:59:39 -0400 Subject: [PATCH] fix tests --- main_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main_test.go b/main_test.go index b5be3b9..76cc26d 100644 --- a/main_test.go +++ b/main_test.go @@ -77,13 +77,13 @@ func TestRenderBadge(t *testing.T) { badge, err = RenderBadge(101) if err == nil { - t.Errorf("Invalid coverage: greater than 100%") + t.Errorf("Invalid coverage: greater than 100%%") } badge, err = RenderBadge(-1) if err == nil { - t.Errorf("Invalid coverage: less than 0%") + t.Errorf("Invalid coverage: less than 0%%") } }