Skip to content

Commit f3b4f5d

Browse files
committed
[conflict-mediator] Accept both types of quotes
1 parent 34c5697 commit f3b4f5d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

conflict_mediator/verify.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ def verify(exercise: GitAutograderExercise) -> GitAutograderOutput:
2424
raise exercise.wrong_answer([DETACHED_HEAD])
2525

2626
with exercise.repo.files.file("script.py") as script_file:
27-
if script_file.read().strip() != 'print("Hello Everyone and World!")':
27+
if (
28+
script_file.read().strip() != 'print("Hello Everyone and World!")'
29+
and script_file.read().strip() != "print('Hello Everyone and World!')"
30+
):
2831
raise exercise.wrong_answer([MERGE_NOT_RESOLVED, RESET_MESSAGE])
2932

3033
return exercise.to_output(

0 commit comments

Comments
 (0)