aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2012-10-12 11:41:48 +0300
committerMihai Bazon <mihai@bazon.net>2012-10-12 11:41:48 +0300
commitba3df646c0ce2a8997937423c9df9d2da0670ded (patch)
tree534d4c27e232338fa7d04f71f764a183a15a6ce4 /test
parent1b6f8d463f15c5a3fa27b55be0a6d2dc74bcc12a (diff)
downloadtracifyjs-ba3df646c0ce2a8997937423c9df9d2da0670ded.tar.gz
tracifyjs-ba3df646c0ce2a8997937423c9df9d2da0670ded.zip
actually enable the option that drops unused names in the test of issue #12
Diffstat (limited to 'test')
-rw-r--r--test/compress/issue-12.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/compress/issue-12.js b/test/compress/issue-12.js
index 711c79ea..bf87d5c0 100644
--- a/test/compress/issue-12.js
+++ b/test/compress/issue-12.js
@@ -1,9 +1,11 @@
keep_name_of_getter: {
+ options = { unused: true };
input: { a = { get foo () {} } }
expect: { a = { get foo () {} } }
}
keep_name_of_setter: {
+ options = { unused: true };
input: { a = { set foo () {} } }
expect: { a = { set foo () {} } }
}