Skip to content

Commit 1d6c9ff

Browse files
Update test.py
1 parent 2dc840a commit 1d6c9ff

File tree

1 file changed

+2
-2
lines changed
  • exercises/12-Rand-From-One-to-Twelve

1 file changed

+2
-2
lines changed

exercises/12-Rand-From-One-to-Twelve/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def test_function_existence(app):
2222
def test_conditional():
2323
with open(path, 'r') as content_file:
2424
content = content_file.read()
25-
pattern = r"random\.randrange+\(1, 13\)"
25+
pattern = r"random\.randrange+\(1,\s*13\)"
2626
regex = re.compile(pattern)
2727
assert bool(regex.search(content)) == True
2828

@@ -37,4 +37,4 @@ def test_function_called_for():
3737
with open(path, 'r') as content_file:
3838
content = content_file.read()
3939
regex = re.compile(r"print\s*\(\s*get_randomInt\(\)\s*\)")
40-
assert bool(regex.search(content)) == True
40+
assert bool(regex.search(content)) == True

0 commit comments

Comments
 (0)