Skip to content

Commit

Permalink
refactor: fixing end to end test error message
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperC286 committed Oct 18, 2024
1 parent 76ac347 commit 09b5362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion end-to-end-tests/features/steps/assertions.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def assert_error_contains(result, error):


def assert_error_matches_regex(result, regex):
assert regex.match(result.stderr) is not None, f"Expected standard errors to match the regex.\n" + \
assert regex.match(result.stderr) is not None, f"Expected standard error to match the regex.\n" + \
f"Standard error = {result.stderr.encode()}.\n" + \
f"Regex = {regex.pattern.encode()}.\n"

Expand Down

0 comments on commit 09b5362

Please sign in to comment.