actually enable the option that drops unused names in the test of issue #12
This commit is contained in:
parent
1b6f8d463f
commit
ba3df646c0
|
|
@ -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 () {} } }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user