Skip to content

Commit

Permalink
Fix test result bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Low Han authored and Low Han committed Nov 8, 2024
1 parent 7af5d05 commit 1ac940d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/pages/code/[id]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export default function Code() {
expectedOutput={
isViewOnly
? (matchData?.question.testOutputs[
collabData?.executionResult.testIndex ?? 0
collabData?.executionResult?.testIndex ?? 0
] ?? '')
: (testResult?.expectedOutput ?? '')
}
Expand Down

0 comments on commit 1ac940d

Please sign in to comment.