Skip to content

Commit aa9da3a

Browse files
Konstantincmccandless
authored andcommitted
luhn: add missing whitespace (exercism#1154)
1 parent 7eb6a99 commit aa9da3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

exercises/luhn/luhn_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_valid_strings_with_symbols_included_become_invalid(self):
3939
self.assertIs(Luhn("055£ 444$ 285").is_valid(), False)
4040

4141
def test_single_zero_with_space_is_invalid(self):
42-
self.assertIs(Luhn("0").is_valid(), False)
42+
self.assertIs(Luhn(" 0").is_valid(), False)
4343

4444
def test_more_than_a_single_zero_is_valid(self):
4545
self.assertIs(Luhn("0000 0").is_valid(), True)

0 commit comments

Comments
 (0)