Skip to content

Commit

Permalink
Merge pull request #381 from radish-bdd/bugfix/fix-windows-lineending
Browse files Browse the repository at this point in the history
Bugfix for windows test remove CR
  • Loading branch information
fliiiix committed Sep 2, 2019
2 parents bc60b3c + 07a9c5e commit c8ce8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/radish/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def expect_fail_with_exc(step, exc_type_name):
@then("the run should fail with")
def expect_fail(step):
"""Expect the run failed with an exception"""
stdout = step.context.stdout.decode("utf-8")
stdout = step.context.stdout.decode("utf-8").replace("\r", "")

assert step.context.exit_code != 0, (
"Actual exit code was: {}\n".format(step.context.exit_code)
Expand Down

0 comments on commit c8ce8bd

Please sign in to comment.