Fixes incorrect format specifier for length of links in tests

This commit is contained in:
Tom Hudson 2018-09-05 14:40:13 +00:00
parent 3eda75a91f
commit 02ca5825eb

View File

@ -39,7 +39,7 @@ func TestSimple(t *testing.T) {
func TestEmpty(t *testing.T) { func TestEmpty(t *testing.T) {
links := Parse("") links := Parse("")
if links != nil { 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))
} }
} }