Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
littlewhitecloud authored Dec 10, 2023
1 parent ce9e769 commit ed3c3a1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/syntax_error/missing_end_quote_in_byte.jou
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import "stdlib/io.jou"

def main() -> int:
printf('?)
# Error: missing ' to end the byte literal
return 0
6 changes: 6 additions & 0 deletions tests/syntax_error/missing_end_quote_in_string.jou
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import "stdlib/io.jou"

def main() -> int:
printf("Hello)
# Error: missing " to end the string
return 0

0 comments on commit ed3c3a1

Please sign in to comment.