diff options
author | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2019-08-30 01:43:12 +0300 |
---|---|---|
committer | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2019-08-30 01:43:12 +0300 |
commit | 878cb24695b7d39fa9de65a1e164abc84dc67ead (patch) | |
tree | 73946dd08310c2a3b7535297906a4ff5535db756 /luhn/luhn_test.go | |
parent | b0fba45d68c9ec6c2274ebd61b28ca22bb5deff6 (diff) |
Added Damm algorithm
Diffstat (limited to 'luhn/luhn_test.go')
-rw-r--r-- | luhn/luhn_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luhn/luhn_test.go b/luhn/luhn_test.go index ea36119..24e57f2 100644 --- a/luhn/luhn_test.go +++ b/luhn/luhn_test.go @@ -14,7 +14,7 @@ func TestLuhn(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) } } } |