Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
first test now allows letters and numbers as param
  • Loading branch information
UmiKami committed Jul 20, 2023
commit 62dbe32f259880efa4d866f1694d28456bad2a03
2 changes: 1 addition & 1 deletion exercises/08-Function-that-returns/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def test_declare_variable():
path = os.path.dirname(os.path.abspath(__file__))+'/app.py'
with open(path, 'r') as content_file:
content = content_file.read()
regex = re.compile(r"dollar_to_euro\(\s*\d+\s*\)")
regex = re.compile(r"dollar_to_euro\s*\(\s*[a-zA-Z0-9]*\s*\)")
assert bool(regex.search(content)) == True


Expand Down