summaryrefslogtreecommitdiff
path: root/lib/std/test/fmt.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-10-10 17:19:27 -0700
committerOri Bernstein <ori@eigenstate.org>2015-10-10 17:19:27 -0700
commit776a9e4ed35369c9c8553e3035daa026e00495e9 (patch)
tree99beac4de9952263367f3a3511838b1beea8d356 /lib/std/test/fmt.myr
parent954728ed5cc60e638cd858d232c5851f72ad7343 (diff)
downloadmc-776a9e4ed35369c9c8553e3035daa026e00495e9.tar.gz
Some API tweaks to make things match the docs.
Diffstat (limited to 'lib/std/test/fmt.myr')
-rw-r--r--lib/std/test/fmt.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/test/fmt.myr b/lib/std/test/fmt.myr
index 5c600d3..fbae79a 100644
--- a/lib/std/test/fmt.myr
+++ b/lib/std/test/fmt.myr
@@ -49,7 +49,7 @@ const builtins = {
check("-000000001", "{p=0,w=10}", -1)
check("xxxxxxxx-1", "{p=x,w=10}", -1)
check(" -1", "{w=10}", -1)
- check("100000" , "{3}", 100000)
+ check("100000" , "{w=3}", 100000)
check("foobarbaz", "{}bar{}", "foo", "baz")
check("{}barbaz", "{{}}bar{}", "baz")
check("{barbaz}", "{{bar{}}}", "baz")