Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / test / sprtTests.cpp
diff options
context:
space:
mode:
Commita7deea90e831c727cb39a22f47c15f5c54b94373 (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-11-19 22:25:48 +0200
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-11-19 23:49:52 +0200
Files00675dbf8c16b7246427f9dcfde2aa317d090c72 /JSImpl/test/sprtTests.cpp
IPL-a7deea90e831c727cb39a22f47c15f5c54b94373.tar
IPL-a7deea90e831c727cb39a22f47c15f5c54b94373.tar.gz
IPL-a7deea90e831c727cb39a22f47c15f5c54b94373.zip
Parent75faff8b35b8f9bfa0a00b973e9323c1dc4c614e (diff)
Support for double as number type in the runtime
1 files changed, 1 insertions, 1 deletions
-rw-r--r--JSImpl/test/sprtTests.cpp2
diff --git a/JSImpl/test/sprtTests.cpp b/JSImpl/test/sprtTests.cpp
index eef7147..787d9eb 100644
--- a/JSImpl/test/sprtTests.cpp
+++ b/JSImpl/test/sprtTests.cpp
@@ -81,7 +81,7 @@ TEST_F(SPRTTest, Div)
};
Run(bytecode, sizeof(bytecode));
- ASSERT_EQ(Output.str(), "0");
+ ASSERT_EQ(Output.str(), "0.857143");
}
TEST_F(SPRTTest, Mod)