Skip to content

Commit

Permalink
Add a syntax test case with comments (#6)
Browse files Browse the repository at this point in the history
Signed-off-by: Bradley Reynolds <bradley.reynolds@darbia.dev>
  • Loading branch information
shenanigansd authored Dec 2, 2023
1 parent 5c56345 commit ddfd7c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
[
("", []),
("><", [Token.INCREMENT_POINTER, Token.DECREMENT_POINTER]),
(">hi I'm a comment!!<", [Token.INCREMENT_POINTER, Token.DECREMENT_POINTER]),
("[><]", [Token.LOOP_START, Token.INCREMENT_POINTER, Token.DECREMENT_POINTER, Token.LOOP_END]),
],
)
Expand Down

0 comments on commit ddfd7c9

Please sign in to comment.