Skip to content

Commit 8aafa49

Browse files
Readmes of exercise 14 fixed
1 parent c17548f commit 8aafa49

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

exercises/14-Your-First-Loop/README.es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
1. Ejecuta este código, verás una cuenta de 0 a 9 (caracteres blancos).
66

7-
2. Corrígelo para que cuente hasta 11, verás 101 en verde después ¿Puedes?
7+
2. Corrígelo para que cuente hasta 11.
88

99
## 🔎 Importante:
1010

exercises/14-Your-First-Loop/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tutorial: "https://www.youtube.com/watch?v=30sizcnVdGg"
88

99
1. Run this code, you'll see a count from 0 to 9 (White characters).
1010

11-
2. Fix it so that it counts up to 11, you'll see 101 on green afterwards. Can you?
11+
2. Fix it so that it counts up to 11.
1212

1313
## 🔎 Important:
1414

exercises/14-Your-First-Loop/test.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,4 @@ def test_for_loop():
2727
with open(path, 'r') as content_file:
2828
content = content_file.read()
2929
regex = re.compile(r"for\s*")
30-
assert bool(regex.search(content)) == True
31-
32-
@pytest.mark.it("1. You should return a list of number between 0 and 11")
33-
def test_for_file_output(capsys):
34-
captured = buffer.getvalue()
35-
assert captured == "0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n" #add \n because the console jumps the line on every print
30+
assert bool(regex.search(content)) == True

0 commit comments

Comments
 (0)