Skip to content

Commit

Permalink
Update tests/should_succeed/ascii_test.jou
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli authored Dec 23, 2023
1 parent 74ba02f commit 419dd4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/should_succeed/ascii_test.jou
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ def main() -> int:

s = "test1 test2"
words = split_by_ascii_whitespace(s)
printf("%s %s\n", words[0], words[1]) # Output: test1 test2
puts(words[0]) # Output: test1
puts(words[1]) # Output: test2
assert words[2] == NULL
free(words)

Expand Down

0 comments on commit 419dd4c

Please sign in to comment.