Skip to content

Commit

Permalink
simplify tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitpaulk committed Aug 23, 2024
1 parent f557164 commit 2c8c3f0
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions internal/test_helpers/fixtures/pass_scanning
Original file line number Diff line number Diff line change
Expand Up @@ -615,16 +615,15 @@ Debug = true
[stage-6] [test-1] ✓ Received exit code 0.
[stage-6] [test-2] Running test case: 2
[stage-6] [test-2] Writing contents to ./test.lox:
[stage-6] [test-2] [test.lox] ===
[stage-6] [test-2] [test.lox] ==
[stage-6] [test-2] $ ./your_program.sh tokenize test.lox
[your_program] EQUAL_EQUAL == null
[your_program] EQUAL = null
[your_program] EOF null
[stage-6] [test-2] ✓ 3 line(s) match on stdout
[stage-6] [test-2] ✓ 2 line(s) match on stdout
[stage-6] [test-2] ✓ Received exit code 0.
[stage-6] [test-3] Running test case: 3
[stage-6] [test-3] Writing contents to ./test.lox:
[stage-6] [test-3] [test.lox] ({=}){=====}
[stage-6] [test-3] [test.lox] ({=}){==}
[stage-6] [test-3] $ ./your_program.sh tokenize test.lox
[your_program] LEFT_PAREN ( null
[your_program] LEFT_BRACE { null
Expand All @@ -633,11 +632,9 @@ Debug = true
[your_program] RIGHT_PAREN ) null
[your_program] LEFT_BRACE { null
[your_program] EQUAL_EQUAL == null
[your_program] EQUAL_EQUAL == null
[your_program] EQUAL = null
[your_program] RIGHT_BRACE } null
[your_program] EOF null
[stage-6] [test-3] ✓ 11 line(s) match on stdout
[stage-6] [test-3] ✓ 9 line(s) match on stdout
[stage-6] [test-3] ✓ Received exit code 0.
[stage-6] [test-4] Running test case: 4
[stage-6] [test-4] Writing contents to ./test.lox:
Expand Down

0 comments on commit 2c8c3f0

Please sign in to comment.