aboutsummaryrefslogtreecommitdiff
path: root/test/compress
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2018-03-15 15:46:45 +0800
committerGitHub <noreply@github.com>2018-03-15 15:46:45 +0800
commitb29d435bb5bc4d883a23efaabd76e95092352b6c (patch)
tree66c07a30785785628af0356fa649b033643b5569 /test/compress
parent90585e29c257e3417f8a22024d6701d1ddced2fe (diff)
downloadtracifyjs-b29d435bb5bc4d883a23efaabd76e95092352b6c.tar.gz
tracifyjs-b29d435bb5bc4d883a23efaabd76e95092352b6c.zip
refactor brackets to braces (#3005)
Diffstat (limited to 'test/compress')
-rw-r--r--test/compress/loops.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/compress/loops.js b/test/compress/loops.js
index 625b552d..2dd29256 100644
--- a/test/compress/loops.js
+++ b/test/compress/loops.js
@@ -294,10 +294,10 @@ issue_186_beautify_ie8: {
]
}
-issue_186_bracketize: {
+issue_186_braces: {
beautify = {
beautify: false,
- bracketize: true,
+ braces: true,
ie8: false,
}
input: {
@@ -314,10 +314,10 @@ issue_186_bracketize: {
expect_exact: 'var x=3;if(foo()){do{do{alert(x)}while(--x)}while(x)}else{bar()}'
}
-issue_186_bracketize_ie8: {
+issue_186_braces_ie8: {
beautify = {
beautify: false,
- bracketize: true,
+ braces: true,
ie8: true,
}
input: {
@@ -334,10 +334,10 @@ issue_186_bracketize_ie8: {
expect_exact: 'var x=3;if(foo()){do{do{alert(x)}while(--x)}while(x)}else{bar()}'
}
-issue_186_beautify_bracketize: {
+issue_186_beautify_braces: {
beautify = {
beautify: true,
- bracketize: true,
+ braces: true,
ie8: false,
}
input: {
@@ -366,10 +366,10 @@ issue_186_beautify_bracketize: {
]
}
-issue_186_beautify_bracketize_ie8: {
+issue_186_beautify_braces_ie8: {
beautify = {
beautify: true,
- bracketize: true,
+ braces: true,
ie8: true,
}
input: {