Skip to content

Commit 08503cf

Browse files
committed
fix: Ignore new empty line in the diff
1 parent 5189d2f commit 08503cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tasks/scenarios/submission.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class SubmissionScenario extends Scenario {
6666
const expectedOutputFile = path.join(currentTestcasePath, 'stdout')
6767

6868
const diff = exec(`
69-
diff -b -a ${runOutputFile} ${expectedOutputFile}
69+
diff -b -B -a ${runOutputFile} ${expectedOutputFile}
7070
`)
7171
const score = diff.code === 0 ? 100 : 0
7272

0 commit comments

Comments
 (0)