Fix test expectation (#3357)
authorRuben Bridgewater <ruben@bridgewater.de>
Fri, 29 Mar 2019 18:08:27 +0000 (19:08 +0100)
committerAlex Lam S.L <alexlamsl@gmail.com>
Fri, 29 Mar 2019 18:08:27 +0000 (02:08 +0800)
commit4b21526310ebb9a953020c347d1732d2e87b3cf2
tree01490f20a1e324abd35262283dc5334945dc1983
parenta7a7b1daed4d2b8cff6835b514b685a6eeef9aa7
Fix test expectation (#3357)

The test expects a specific precision value that is not met on all V8 versions anymore due to a recent consolidation of different algorithms across the V8 code base.

This makes sure the preceision is tested against one digit less to keep the test working on all V8 versions.

Refs: https://chromium.googlesource.com/v8/v8/+/98453126c109016c9d32c6ebd89dd83f69dd8efb
Refs: https://github.com/nodejs/node/issues/25060#issuecomment-477953457
test/compress/evaluate.js