add test for issue #12
This commit is contained in:
parent
72cb5328ee
commit
731fa9c236
9
test/compress/issue-12.js
Normal file
9
test/compress/issue-12.js
Normal file
|
|
@ -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 () {} } }
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user