summaryrefslogtreecommitdiff
path: root/lib/std/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-12-25 16:30:17 -0800
committerOri Bernstein <ori@eigenstate.org>2017-12-25 16:41:12 -0800
commitc66161595cd3e4638122777d550ab61dc100b973 (patch)
tree08d1aa54e81501b262bc3f35811cb07e970a2184 /lib/std/test
parent52eca667bbd1cf5a929d3f2352c3c1ee8e91625d (diff)
downloadmc-c66161595cd3e4638122777d550ab61dc100b973.tar.gz
Make the copy loop byte based.
No more pesky UTF8 restrictions in the input string.
Diffstat (limited to 'lib/std/test')
-rw-r--r--lib/std/test/fmt.myr2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/test/fmt.myr b/lib/std/test/fmt.myr
index faab297..587b1e7 100644
--- a/lib/std/test/fmt.myr
+++ b/lib/std/test/fmt.myr
@@ -100,6 +100,8 @@ const builtins = {
check("[1, 2, 3] true", "{} {}", [1,2,3], true)
check("[1, 2, 3] true", "{} {}", [1,2,3][:], true)
check("1:2:3 true", "{j=:} {}", [1,2,3][:], true)
+ check("1,2,3 true", "{j=\\,} {}", [1,2,3][:], true)
+ check("1}2}3 true", "{j=\\}} {}", [1,2,3][:], true)
check("1... 2... 3 true", "{j=... } {}", [1,2,3][:], true)
}