summaryrefslogtreecommitdiff
path: root/lib/std/test/fmt.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/test/fmt.myr')
-rw-r--r--lib/std/test/fmt.myr4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/std/test/fmt.myr b/lib/std/test/fmt.myr
index 5d0cfa8..c1a17ac 100644
--- a/lib/std/test/fmt.myr
+++ b/lib/std/test/fmt.myr
@@ -56,6 +56,10 @@ const builtins = {
check("\\n\\r\\xff", "{e}", "\n\r\xff")
check("{}barbaz", "{{}}bar{}", "baz")
check("{barbaz}", "{{bar{}}}", "baz")
+ check(" Tlön", "{w=10}", "Tlön")
+ check(" háček", "{w=10}", "háček")
+ check("_____即是多多即", "{w=15,p=_}", "即是多多即")
+ check(" τῶν ῾Ελλήνων", "{w=15}", "τῶν ῾Ελλήνων")
check("abcd", "{}", "abcd")
check("123", "{}", 123)
check("7b", "{x}", 123)