test(es/minifier): Enable more terser tests (#7396)

This commit is contained in:
Donny/강동윤 2023-05-16 12:21:08 +09:00 committed by GitHub
parent 4a53951fe3
commit f9cdd741c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 24 additions and 34 deletions

View File

@ -251,15 +251,12 @@ issue_203/compress_new_function_with_destruct/input.js
issue_203/compress_new_function_with_destruct_arrows/input.js
issue_22/return_with_no_value_in_if_body/input.js
issue_281/collapse_vars_constants/input.js
issue_281/issue_1758/input.js
issue_2871/comparison_with_undefined/input.js
issue_417/test_unexpected_crash/input.js
issue_417/test_unexpected_crash_2/input.js
issue_44/issue_44_valid_ast_1/input.js
issue_44/issue_44_valid_ast_2/input.js
issue_640/conditional/input.js
issue_640/negate_iife_1/input.js
issue_640/negate_iife_3/input.js
issue_747/dont_reuse_prop/input.js
issue_747/unmangleable_props_should_always_be_reserved/input.js
issue_751/negate_booleans_1/input.js
@ -349,7 +346,6 @@ reduce_vars/perf_3/input.js
reduce_vars/perf_7/input.js
reduce_vars/pure_getters_2/input.js
reduce_vars/pure_getters_3/input.js
reduce_vars/recursive_inlining_3/input.js
reduce_vars/redefine_farg_1/input.js
reduce_vars/redefine_farg_2/input.js
reduce_vars/redefine_farg_3/input.js
@ -366,6 +362,4 @@ template_string/regex_2/input.js
template_string/side_effects/input.js
template_string/template_evaluate_undefined/input.js
transform/label_if_break/input.js
typeof/issue_2728_3/input.js
typeof/issue_2728_4/input.js
typeof/typeof_defun_1/input.js

View File

@ -925,6 +925,7 @@ issue_281/issue_1254_negate_iife_nested/input.js
issue_281/issue_1254_negate_iife_true/input.js
issue_281/issue_1288_side_effects/input.js
issue_281/issue_1595_3/input.js
issue_281/issue_1758/input.js
issue_281/keep_fargs/input.js
issue_281/modified/input.js
issue_281/negate_iife_3/input.js
@ -966,6 +967,8 @@ issue_640/iife/input.js
issue_640/issue_1254_negate_iife_nested/input.js
issue_640/issue_1254_negate_iife_true/input.js
issue_640/limit_1/input.js
issue_640/negate_iife_1/input.js
issue_640/negate_iife_3/input.js
issue_640/negate_iife_3_off/input.js
issue_640/negate_iife_4/input.js
issue_640/negate_iife_5/input.js
@ -1365,6 +1368,7 @@ reduce_vars/perf_5/input.js
reduce_vars/pure_getters_1/input.js
reduce_vars/recursive_inlining_1/input.js
reduce_vars/recursive_inlining_2/input.js
reduce_vars/recursive_inlining_3/input.js
reduce_vars/recursive_inlining_4/input.js
reduce_vars/recursive_inlining_5/input.js
reduce_vars/redefine_arguments_1/input.js
@ -1592,6 +1596,8 @@ typeof/duplicate_lambda_arg_name/input.js
typeof/issue_1668/input.js
typeof/issue_2728_1/input.js
typeof/issue_2728_2/input.js
typeof/issue_2728_3/input.js
typeof/issue_2728_4/input.js
typeof/issue_2728_5/input.js
typeof/issue_2728_6/input.js
typeof/typeof_defun_2/input.js

View File

@ -1,6 +1,3 @@
console.log(
(function (c) {
var undefined = 42;
console.log(function(c) {
return c--, c--, void c.toString();
})()
);
}());

View File

@ -1,3 +1,3 @@
(function () {
!function() {
stuff();
})();
}();

View File

@ -1,5 +1,3 @@
(function () {
!function() {
return t;
})()
? console.log(true)
: console.log(false);
}() ? console.log(false) : console.log(true);

View File

@ -1,15 +1,12 @@
!(function () {
function qux(x) {
!function() {
(function qux(x) {
console.log("qux", x);
if (x)
(function (x) {
if (x) (function(x) {
console.log("foo", x);
if (x)
(function (x) {
if (x) (function(x) {
console.log("bar", x);
if (x) qux(x - 1);
})(x - 1);
})(x - 1);
}
qux(4);
})();
})(4);
}();

View File

@ -1,4 +1,3 @@
(function() {
function arguments() {}
console.log("function");
})();

View File

@ -1,2 +1 @@
function arguments() {}
console.log("function");