test data: fix reference

GitOrigin-RevId: 54fceb43c400b18c5f7506f22880f22e435df108
This commit is contained in:
Alexandr Suhinin
2020-04-01 12:46:46 +03:00
committed by intellij-monorepo-bot
parent 074d033165
commit 10ee360f1b
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ import java.io.IOException;
class Test {
void test(String name) throws IOException {
<selection>String s = "result";
new ReturnIssues().withError();</selection>
new Test().withError();</selection>
System.out.println(s);
}

View File

@@ -10,9 +10,9 @@ class Test {
}
@NotNull
private String newMethod() {
private String newMethod() throws IOException {
String s = "result";
new ReturnIssues().withError();
new Test().withError();
return s;
}