Skip to content

Commit daa03e4

Browse files
authored
Update tests.py
1 parent 0280a20 commit daa03e4

File tree

1 file changed

+2
-2
lines changed
  • exercises/07-lambda-function-two

1 file changed

+2
-2
lines changed

exercises/07-lambda-function-two/tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import io, sys, pytest, os, re, mock
22

3-
@pytest.mark.it("Declare a function 'rapid' as lambda")
3+
@pytest.mark.it("Declare a function called 'rapid' as lambda")
44
def test_declare_variable():
55
path = os.path.dirname(os.path.abspath(__file__))+'/app.py'
66
with open(path, 'r') as content_file:
@@ -12,7 +12,7 @@ def test_declare_variable():
1212
def test_for_callable(capsys):
1313
from app import rapid
1414

15-
@pytest.mark.it('The function rapid must receive one string and return the same but without the last letter (make sure it\'s lowecase)')
15+
@pytest.mark.it('The function rapid must receive one string and return the same string without the last character')
1616
def test_for_integer(capsys):
1717
from app import rapid
1818
assert rapid("maria") == "mari"

0 commit comments

Comments
 (0)