From 731fa9c2360334d374593ea0a79031d24c9c7107 Mon Sep 17 00:00:00 2001 From: Mihai Bazon Date: Fri, 12 Oct 2012 10:49:48 +0300 Subject: add test for issue #12 --- test/compress/issue-12.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/compress/issue-12.js (limited to 'test/compress') diff --git a/test/compress/issue-12.js b/test/compress/issue-12.js new file mode 100644 index 00000000..711c79ea --- /dev/null +++ b/test/compress/issue-12.js @@ -0,0 +1,9 @@ +keep_name_of_getter: { + input: { a = { get foo () {} } } + expect: { a = { get foo () {} } } +} + +keep_name_of_setter: { + input: { a = { set foo () {} } } + expect: { a = { set foo () {} } } +} -- cgit v1.2.3