Skip to content

Commit e739b5f

Browse files
authored
Update test.py
1 parent 0734f38 commit e739b5f

File tree

1 file changed

+2
-2
lines changed
  • exercises/16-Random-Colors-Loop

1 file changed

+2
-2
lines changed

exercises/16-Random-Colors-Loop/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ def test_black_in_array(capsys, app):
3131
result = app.get_allStudentColors()
3232
assert result.count("black") == 0
3333

34-
@pytest.mark.it('You should use for to iterate 10 times')
34+
@pytest.mark.it('You should use a for loop to iterate 10 times')
3535
def use_for_loop(capsys):
3636
path = os.path.dirname(os.path.abspath(__file__))+'/app.py'
3737
with open(path, 'r') as content_file:
3838
content = content_file.read()
3939
pattern = r"for\s*"
4040
regex = re.compile(pattern)
41-
assert bool(regex.search(content)) == True
41+
assert bool(regex.search(content)) == True

0 commit comments

Comments
 (0)