We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7eb6a99 commit aa9da3aCopy full SHA for aa9da3a
1 file changed
exercises/luhn/luhn_test.py
@@ -39,7 +39,7 @@ def test_valid_strings_with_symbols_included_become_invalid(self):
39
self.assertIs(Luhn("055£ 444$ 285").is_valid(), False)
40
41
def test_single_zero_with_space_is_invalid(self):
42
- self.assertIs(Luhn("0").is_valid(), False)
+ self.assertIs(Luhn(" 0").is_valid(), False)
43
44
def test_more_than_a_single_zero_is_valid(self):
45
self.assertIs(Luhn("0000 0").is_valid(), True)
0 commit comments