zilboe
                
              
                
              
                  
                  
              1
              
             
            
              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
             
            
              
              
              
            
            
           
          
            
              
                andy1li
                
              
              
                  
                  
              2
              
             
            
              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?
             
            
              
              
              
            
            
           
          
            
              
                zilboe
                
              
              
                  
                  
              4
              
             
            
              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
             
            
              
              
              
            
            
           
          
            
              
                andy1li
                
              
                
              
                  
                  
              5
              
             
            
              Hi @zilboe, I tried running your code against the previous stages, but it’s no longer passing Stage #ER2 (Scanning: Whitespace).
Suggestions:
- Use our CLI to test against previous stages by running:
codecrafters test --previous
- Focus on fixing the early stages first, as later stages depend on them.
 
            
              
              
              
            
            
           
          
            
              
                system
                
                  Closed 
              
              
                  
                  
              7
              
             
            
              This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.