Skip to content

Commit df80c87

Browse files
author
Parker Johansen
committed
Use strip instead of replace to only trim from the start and end
1 parent 0fc07ad commit df80c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/projects/test_hello_world.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ def hello_world(request):
1212
@project_test(ProjectType.HelloWorld.key)
1313
def test_hello_world(hello_world):
1414
actual = hello_world.run()
15-
assert actual.strip().replace('"', '') == 'Hello, World!'
15+
assert actual.strip().strip('"') == 'Hello, World!'

0 commit comments

Comments
 (0)