summaryrefslogtreecommitdiff
path: root/lib/std/test/fmt.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-09-20 00:55:40 -0700
committerOri Bernstein <ori@eigenstate.org>2015-09-20 00:55:40 -0700
commit0f469133aed044569f4d6ae9efc1d961124c05cd (patch)
treef81afcd267b610b302b38298547603dc9c1e83a9 /lib/std/test/fmt.myr
parent6235cb639285f9ff5a7fc483a1950a8cd42f9aa9 (diff)
downloadmc-0f469133aed044569f4d6ae9efc1d961124c05cd.tar.gz
Catch a few more edge cases.
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 562b5b2..92d7850 100644
--- a/lib/std/test/fmt.myr
+++ b/lib/std/test/fmt.myr
@@ -39,6 +39,10 @@ const builtins = {
check("123", "{}", 123)
check("7b", "{x}", 123)
check("0x7b", "0x{x}", 123)
+ check("0.3", "{}", 0.3)
+ check("666.91972", "{}", 666.91972)
+ check("1.0001", "{}", 1.0001)
+ check("0.000101323461002", "{}", 0.000101323461002)
}
const installed = {