fix tests

This commit is contained in:
alexlamsl
2018-01-21 15:53:32 +08:00
parent 287ec730f7
commit 13accdd745
4 changed files with 15 additions and 49 deletions

View File

@@ -2,7 +2,7 @@
compress_new_function: {
options = {
unsafe: true,
unsafe_Func: true,
unsafe_Function: true,
}
input: {
new Function("aa, bb", 'return aa;');
@@ -15,7 +15,7 @@ compress_new_function: {
compress_new_function_with_destruct: {
options = {
unsafe: true,
unsafe_Func: true,
unsafe_Function: true,
ecma: 6
}
beautify = {
@@ -38,7 +38,7 @@ compress_new_function_with_destruct_arrows: {
arrows: true,
unsafe_arrows: true,
unsafe: true,
unsafe_Func: true,
unsafe_Function: true,
ecma: 6,
}
beautify = {