diff options
Diffstat (limited to 'test/snapshots/number-literal-bug.hmr.debug.js')
| -rw-r--r-- | test/snapshots/number-literal-bug.hmr.debug.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/snapshots/number-literal-bug.hmr.debug.js b/test/snapshots/number-literal-bug.hmr.debug.js index 7f06df649..8c2b5a6cf 100644 --- a/test/snapshots/number-literal-bug.hmr.debug.js +++ b/test/snapshots/number-literal-bug.hmr.debug.js @@ -11,9 +11,8 @@ __FastRefreshRuntime as FastRefresh var hmr = new FastHMR(472725871, "number-literal-bug.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { function test() { - const precision = 10; try { - parseFloat(0 .toPrecision(precision) + "1"); + parseFloat(0 .toPrecision(10) + "1"); } catch (exception) { throw new Error("Test Failed", exception); } |
