aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-747.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/issue-747.js')
-rw-r--r--test/compress/issue-747.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/compress/issue-747.js b/test/compress/issue-747.js
index 1f7079c2..e074305a 100644
--- a/test/compress/issue-747.js
+++ b/test/compress/issue-747.js
@@ -1,6 +1,8 @@
dont_reuse_prop: {
- mangle_props = {
- regex: /asd/
+ mangle = {
+ properties: {
+ regex: /asd/,
+ },
}
input: {
"aaaaaaaaaabbbbb";
@@ -20,8 +22,10 @@ dont_reuse_prop: {
}
unmangleable_props_should_always_be_reserved: {
- mangle_props = {
- regex: /asd/
+ mangle = {
+ properties: {
+ regex: /asd/,
+ },
}
input: {
"aaaaaaaaaabbbbb";