Skip to content

Commit

Permalink
Use double quotes in string continue test
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Dec 16, 2023
1 parent 68ee905 commit 697cd94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/syntax_error/string_continue_on_next_line.jou
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import "stdlib/io.jou"

# Output: compiler error in file "tests/syntax_error/string_continue_on_next_line.jou", line 5: missing ' to end the byte literal
# Output: compiler error in file "tests/syntax_error/string_continue_on_next_line.jou", line 6: missing " to end the string
def main() -> int:
a = '\
't\''
a = "\
asdf
printf(a)
return 0

0 comments on commit 697cd94

Please sign in to comment.