comments based test data for remove arg fix

assume that argument with all comments inside should be deleted
This commit is contained in:
Anna.Kozlova
2017-11-24 11:34:19 +01:00
parent 556787e204
commit c4804ea189
2 changed files with 6 additions and 2 deletions
@@ -1,7 +1,8 @@
// "Remove redundant arguments to call 'method(int, String)'" "true"
class A {
public A() {
method(5, "");
method(5, ""//before arg to delete
);//end line comment
}
private void method(int s, String s2) {
@@ -1,7 +1,10 @@
// "Remove redundant arguments to call 'method(int, String)'" "true"
class A {
public A() {
method(5, "",<caret> 10);
method(5, "",//before arg to delete
<caret> "a" + //in arg to delete
"b"
);//end line comment
}
private void method(int s, String s2) {