Added unicode test.
This commit is contained in:
parent
3661754ed9
commit
df3da8ed59
@ -13,3 +13,12 @@ assume ("\n" = (newline)) or barf "Text literals failed."
|
||||
assume (("x" + "y") = "xy")
|
||||
|
||||
say "Text test passed."
|
||||
|
||||
immediately:
|
||||
parse [アクション %spec %body] as: action %spec %body
|
||||
|
||||
%こんにちは <- "こんにちは"
|
||||
アクション [% と言う]:
|
||||
"\(%)世界"
|
||||
|
||||
assume ((%こんにちは と言う) = "こんにちは世界") or barf "Unicode doesn't work"
|
||||
|
Loading…
Reference in New Issue
Block a user