We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dc840a commit 1d6c9ffCopy full SHA for 1d6c9ff
exercises/12-Rand-From-One-to-Twelve/test.py
@@ -22,7 +22,7 @@ def test_function_existence(app):
22
def test_conditional():
23
with open(path, 'r') as content_file:
24
content = content_file.read()
25
- pattern = r"random\.randrange+\(1, 13\)"
+ pattern = r"random\.randrange+\(1,\s*13\)"
26
regex = re.compile(pattern)
27
assert bool(regex.search(content)) == True
28
@@ -37,4 +37,4 @@ def test_function_called_for():
37
38
39
regex = re.compile(r"print\s*\(\s*get_randomInt\(\)\s*\)")
40
- assert bool(regex.search(content)) == True
+ assert bool(regex.search(content)) == True
0 commit comments