diff options
Diffstat (limited to 'verhoeff/verhoeff_test.go')
-rw-r--r-- | verhoeff/verhoeff_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/verhoeff/verhoeff_test.go b/verhoeff/verhoeff_test.go index 7678b1f..005caf0 100644 --- a/verhoeff/verhoeff_test.go +++ b/verhoeff/verhoeff_test.go @@ -18,7 +18,7 @@ func TestVerhoeff(t *testing.T) { } for num, result := range samples { if err := Check(num); err != result { - t.Errorf("Expected %+v actual %+v", result, err) + t.Errorf("Expected %+v actual %+v for %s", result, err, num) } } @@ -29,6 +29,6 @@ func TestVerhoeff(t *testing.T) { } numberWithChecksum := num + checksum if err := Check(numberWithChecksum); err != nil { - t.Errorf("Expected no error actual %+v", err) + t.Errorf("Expected no error actual %+v for %s", err, numberWithChecksum) } } |