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)) } }