diff --git a/apps/worker-compiler/src/index.ts b/apps/worker-compiler/src/index.ts index 092cd4a..2bd0f7e 100644 --- a/apps/worker-compiler/src/index.ts +++ b/apps/worker-compiler/src/index.ts @@ -221,7 +221,7 @@ async function runCommand(command: string, code: string, language: string, expec } - if (expected_output !== stdout) { + if (expected_output + '\n' !== stdout) { console.log(`expected_output: ${expected_output}, stdout: ${stdout}`); resolve({