From 5b9453d6201edc0043c70e14391b0bc66364d7d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Fri, 29 Dec 2023 10:44:07 +0800 Subject: [PATCH] chore: update es12 tests --- .../ecma-version/12/numeric-separators/bigint.result.js | 2 +- .../ecma-version/12/numeric-separators/binary.result.js | 4 ++-- .../ecma-version/12/numeric-separators/exponent.result.js | 4 ++-- .../fixtures/ecma-version/12/numeric-separators/hex.result.js | 4 ++-- .../ecma-version/12/numeric-separators/octal.result.js | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/fixtures/ecma-version/12/numeric-separators/bigint.result.js b/tests/fixtures/ecma-version/12/numeric-separators/bigint.result.js index be1e5261..51fd039c 100644 --- a/tests/fixtures/ecma-version/12/numeric-separators/bigint.result.js +++ b/tests/fixtures/ecma-version/12/numeric-separators/bigint.result.js @@ -74,4 +74,4 @@ export default { ] } ] -}; +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/12/numeric-separators/binary.result.js b/tests/fixtures/ecma-version/12/numeric-separators/binary.result.js index dfa1a8c3..dc4f878c 100644 --- a/tests/fixtures/ecma-version/12/numeric-separators/binary.result.js +++ b/tests/fixtures/ecma-version/12/numeric-separators/binary.result.js @@ -47,7 +47,7 @@ export default { 0, 11 ], - "value": 0b01011010, + "value": 90, "raw": "0b0101_1010" } } @@ -73,4 +73,4 @@ export default { ] } ] -}; +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/12/numeric-separators/exponent.result.js b/tests/fixtures/ecma-version/12/numeric-separators/exponent.result.js index 10a0ed87..a1b0b403 100644 --- a/tests/fixtures/ecma-version/12/numeric-separators/exponent.result.js +++ b/tests/fixtures/ecma-version/12/numeric-separators/exponent.result.js @@ -47,7 +47,7 @@ export default { 0, 10 ], - "value": 1e0123345, + "value": Infinity, "raw": "1e0123_345" } } @@ -73,4 +73,4 @@ export default { ] } ] -}; +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/12/numeric-separators/hex.result.js b/tests/fixtures/ecma-version/12/numeric-separators/hex.result.js index 1ef2634f..5b822e23 100644 --- a/tests/fixtures/ecma-version/12/numeric-separators/hex.result.js +++ b/tests/fixtures/ecma-version/12/numeric-separators/hex.result.js @@ -47,7 +47,7 @@ export default { 0, 11 ], - "value": 0xdeadbeaf, + "value": 3735928495, "raw": "0xdead_beaf" } } @@ -73,4 +73,4 @@ export default { ] } ] -}; +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/12/numeric-separators/octal.result.js b/tests/fixtures/ecma-version/12/numeric-separators/octal.result.js index 1599cfe3..131d14d2 100644 --- a/tests/fixtures/ecma-version/12/numeric-separators/octal.result.js +++ b/tests/fixtures/ecma-version/12/numeric-separators/octal.result.js @@ -47,7 +47,7 @@ export default { 0, 9 ], - "value": 0o755666, + "value": 252854, "raw": "0o755_666" } } @@ -73,4 +73,4 @@ export default { ] } ] -}; +}; \ No newline at end of file