actually enable the option that drops unused names in the test of issue #12
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
keep_name_of_getter: {
|
keep_name_of_getter: {
|
||||||
|
options = { unused: true };
|
||||||
input: { a = { get foo () {} } }
|
input: { a = { get foo () {} } }
|
||||||
expect: { a = { get foo () {} } }
|
expect: { a = { get foo () {} } }
|
||||||
}
|
}
|
||||||
|
|
||||||
keep_name_of_setter: {
|
keep_name_of_setter: {
|
||||||
|
options = { unused: true };
|
||||||
input: { a = { set foo () {} } }
|
input: { a = { set foo () {} } }
|
||||||
expect: { a = { set foo () {} } }
|
expect: { a = { set foo () {} } }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user