#TZ7 :case 1 test error,but i tested correctly locally

I tested locally correctly, but the upload test is wrong

remote: [tester::#TZ7] Running tests for Stage #TZ7 (Scanning: Multi-line errors)
remote: [tester::#TZ7] [test-1] Running test case: 1
remote: [tester::#TZ7] [test-1] Writing contents to ./test.lox:
remote: [tester::#TZ7] [test-1] [test.lox] ()<|SPACE|><|TAB|>@
remote: [tester::#TZ7] [test-1] $ ./your_program.sh tokenize test.lox
remote: [your_program] LEFT_PAREN ( null
remote: [your_program] RIGHT_PAREN ) null
remote: [your_program] EOF  null
remote: [tester::#TZ7] [test-1] expected exit code 65, got 0
remote: [tester::#TZ7] [test-1] Test failed

it is my test locally

LEFT_PAREN ( null
RIGHT_PAREN ) null
[line 1] Error: Unexpected character: @
EOF  null

Could you upload your code to GitHub and share the link? It will be much easier to debug if I can run it directly.

And what error messages were you seeing?

Thank u,i upload the code to github,https://github.com/zilboe/zilboe-codecrafters-interpreter-c,and when i tested,it expected exit code 65, got 0.but i tested in ubuntu22.04,the exit code is 65

Hi @zilboe, I tried running your code against the previous stages, but it’s no longer passing Stage #ER2 (Scanning: Whitespace).

Suggestions:

  1. Use our CLI to test against previous stages by running:
codecrafters test --previous
  1. Focus on fixing the early stages first, as later stages depend on them.