aboutsummaryrefslogtreecommitdiff
path: root/test/compress
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress')
-rw-r--r--test/compress/numbers.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/compress/numbers.js b/test/compress/numbers.js
index d7c0360c..dced3f16 100644
--- a/test/compress/numbers.js
+++ b/test/compress/numbers.js
@@ -1,3 +1,10 @@
+literal_infinity: {
+ input: {
+ console.log(2e308, -1e2345);
+ }
+ expect_exact: "console.log(1/0,-(1/0));"
+}
+
parentheses_for_prototype_functions: {
beautify = {
beautify: true,