From 02ca5825eb8097f10d9cc53da78481a85ad84e04 Mon Sep 17 00:00:00 2001 From: Tom Hudson Date: Wed, 5 Sep 2018 14:40:13 +0000 Subject: [PATCH] Fixes incorrect format specifier for length of links in tests --- main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main_test.go b/main_test.go index 05a8d36..d07af61 100644 --- a/main_test.go +++ b/main_test.go @@ -39,7 +39,7 @@ func TestSimple(t *testing.T) { func TestEmpty(t *testing.T) { links := Parse("") if links != nil { - t.Errorf("Return value should be nil, but was %s", len(links)) + t.Errorf("Return value should be nil, but was %d", len(links)) } }