#EA6 python test looks fine

[compile] Moved ./.codecrafters/run.sh → ./your_program.sh
[compile] Compilation successful.
[tester::#EA6] Running tests for Stage #EA6 (Scanning: Lexical errors)
[tester::#EA6] [test-1] Running test case: 1
[tester::#EA6] [test-1] Writing contents to ./test.lox:
[tester::#EA6] [test-1.lox] @
[tester::#EA6] [test-1] $ ./your_program.sh tokenize test.lox
[your_program] [line 1] Error: Unexpected character: @
[your_program] EOF  null
[tester::#EA6] [test-1] ? [line 1] Error: Unexpected character: @
[tester::#EA6] [test-1] Skipped 1 lines that didn't start with [line N]
[tester::#EA6] [test-1] Expected line #1 on stderr to be "[line 1] Error: Unexpected character: @", but didn't find line
[tester::#EA6] [test-1] Test failed (try setting 'debug: true' in your codecrafters.yml to see more details)

it looks like the output is what its expecting and there is no difference but it fails?

I fixed it the error needs to be printed to STDerror

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.