Skip to content

Commit

Permalink
Use strip instead of replace to only trim from the start and end
Browse files Browse the repository at this point in the history
  • Loading branch information
Parker Johansen committed Oct 15, 2020
1 parent 0fc07ad commit df80c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/projects/test_hello_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ def hello_world(request):
@project_test(ProjectType.HelloWorld.key)
def test_hello_world(hello_world):
actual = hello_world.run()
assert actual.strip().replace('"', '') == 'Hello, World!'
assert actual.strip().strip('"') == 'Hello, World!'

0 comments on commit df80c87

Please sign in to comment.