Fixes incorrect format specifier for length of links in tests
This commit is contained in:
parent
3eda75a91f
commit
02ca5825eb
|
@ -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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user