diff options
author | daurnimator <quae@daurnimator.com> | 2018-04-02 13:53:47 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-04-02 13:53:47 +1000 |
commit | 3df90fdbac4e290b96b01e8745678a2c8d1e17ec (patch) | |
tree | 464acfbea6b91886e18eded2ce31378879b89859 /tests | |
parent | d1ef522d56aaab62f64adadb22a2e754dce43167 (diff) | |
download | fengari-3df90fdbac4e290b96b01e8745678a2c8d1e17ec.tar.gz fengari-3df90fdbac4e290b96b01e8745678a2c8d1e17ec.tar.bz2 fengari-3df90fdbac4e290b96b01e8745678a2c8d1e17ec.zip |
tests/lmathlib.js: Skip failing test in node <= 6
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lmathlib.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lmathlib.js b/tests/lmathlib.js index b50c59c..1de0f0c 100644 --- a/tests/lmathlib.js +++ b/tests/lmathlib.js @@ -176,7 +176,8 @@ test('math.log', function (t) { }); -test('math.exp', function (t) { +/* Node.js 6 has incorrect results for Math.exp */ +(parseInt(process.versions.node) > 6 ? test : test.skip)('math.exp', function (t) { let luaCode = ` return math.exp(10) `, L; |