aboutsummaryrefslogtreecommitdiff
path: root/test/snapshots/number-literal-bug.debug.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/number-literal-bug.debug.js')
-rw-r--r--test/snapshots/number-literal-bug.debug.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/snapshots/number-literal-bug.debug.js b/test/snapshots/number-literal-bug.debug.js
new file mode 100644
index 000000000..fb763061d
--- /dev/null
+++ b/test/snapshots/number-literal-bug.debug.js
@@ -0,0 +1,11 @@
+export function test() {
+ const precision = 10;
+ try {
+ parseFloat(0 .toPrecision(precision) + "1");
+ } catch (exception) {
+ throw new Error("Test Failed", exception);
+ }
+ testDone(import.meta.url);
+}
+
+//# sourceMappingURL=http://localhost:8080/number-literal-bug.js.map