aboutsummaryrefslogtreecommitdiff
path: root/stdlib/test
diff options
context:
space:
mode:
authorEduardo Julian2017-10-12 15:22:47 -0400
committerEduardo Julian2017-10-12 15:22:47 -0400
commit50c370878c0f9985a8b6d1003af9e9f6282b853e (patch)
tree278d60e94ca4912789d858ca9434a996b9c5ac88 /stdlib/test
parent1acc9f4cdd7b7cff29351594fa603c3b6fa4c666 (diff)
- Renamed "%r" to "%f".
Diffstat (limited to 'stdlib/test')
-rw-r--r--stdlib/test/test/lux/data/text/format.lux4
1 files changed, 3 insertions, 1 deletions
diff --git a/stdlib/test/test/lux/data/text/format.lux b/stdlib/test/test/lux/data/text/format.lux
index 9ffa120bb..d1f7fc9f0 100644
--- a/stdlib/test/test/lux/data/text/format.lux
+++ b/stdlib/test/test/lux/data/text/format.lux
@@ -12,8 +12,10 @@
($_ seq
(test "Can format common values simply."
(and (&/= "true" (%b true))
+ (&/= "+123" (%n +123))
(&/= "123" (%i 123))
- (&/= "123.456" (%r 123.456))
+ (&/= "123.456" (%f 123.456))
+ (&/= ".5" (%d .5))
(&/= "\"YOLO\"" (%t "YOLO"))
(&/= "User-id: 123 -- Active: true" (format "User-id: " (%i 123) " -- Active: " (%b true)))))
)))