From c04b0521b23fb599af5f25b245b0f57dd36456eb Mon Sep 17 00:00:00 2001 From: zeimusu Date: Sun, 23 Dec 2018 07:19:36 +0000 Subject: [PATCH] Remove %d from format string. The tests did not run. There was a stray %d at the end of a format string that caused a test error. This commit just removes that --- isbn_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isbn_test.go b/isbn_test.go index d05332a..cfd905c 100644 --- a/isbn_test.go +++ b/isbn_test.go @@ -61,7 +61,7 @@ func TestISBN(t *testing.T) { if v.valid { d10, err := CheckDigit10(v.isbn10) if err != nil || d10 != v.isbn10[len(v.isbn10)-1:] { - t.Errorf("CheckDigit10: failed to calculate check digit for %s: got %s, expected %s (error: %v) %d", v.isbn10, d10, v.isbn10[len(v.isbn10)-1:], err) + t.Errorf("CheckDigit10: failed to calculate check digit for %s: got %s, expected %s (error: %v)", v.isbn10, d10, v.isbn10[len(v.isbn10)-1:], err) } d13, err := CheckDigit13(v.isbn13) if err != nil || d13 != v.isbn13[len(v.isbn13)-1:] {