aboutsummaryrefslogtreecommitdiff
path: root/stdlib/test
diff options
context:
space:
mode:
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)))))
)))