summaryrefslogtreecommitdiff
path: root/lib/std/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-09-10 01:35:47 -0700
committerOri Bernstein <ori@eigenstate.org>2017-09-10 01:35:47 -0700
commit2551a75889ee7eee8d9cb222c9d4f3111fccfa85 (patch)
treee660cde138cce01d8e20b915d059cce878f8da11 /lib/std/test
parentb0fd36e3db14286bc1408aacb8ff7273a85dd251 (diff)
downloadmc-2551a75889ee7eee8d9cb222c9d4f3111fccfa85.tar.gz
Fix 32 bit float formatting.
It works now.
Diffstat (limited to 'lib/std/test')
-rw-r--r--lib/std/test/fmt.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/test/fmt.myr b/lib/std/test/fmt.myr
index 67ba2e4..5d0cfa8 100644
--- a/lib/std/test/fmt.myr
+++ b/lib/std/test/fmt.myr
@@ -62,6 +62,7 @@ const builtins = {
check("0x7b", "0x{x}", 123)
check("0.0", "{}", 0.0)
check("0.3", "{}", 0.3)
+ check("0.3", "{}", (0.3 : flt32))
check("1.0", "{}", 1.0)
check("100.0", "{}", 100.0)
check("666.91972", "{}", 666.91972)