Index: test/mjsunit/str-to-num.js |
=================================================================== |
--- test/mjsunit/str-to-num.js (revision 4244) |
+++ test/mjsunit/str-to-num.js (working copy) |
@@ -44,6 +44,8 @@ |
// assertEquals(, toNumber()); |
+assertEquals(1, 1.); |
+assertEquals(1, toNumber("1.")); |
assertEquals(123, toNumber(" 123")); |
assertEquals(123, toNumber("\n123")); |