mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 07:40:42 +07:00
comments based test data for remove arg fix
assume that argument with all comments inside should be deleted
This commit is contained in:
+2
-1
@@ -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) {
|
||||
|
||||
+4
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user