Skip to content

Commit d9f7180

Browse files
committed
Add missing diagnostic expectations
1 parent 8f940c3 commit d9f7180

File tree

1 file changed

+4
-0
lines changed
  • java/ql/test/library-tests/errorexpr

1 file changed

+4
-0
lines changed

java/ql/test/library-tests/errorexpr/Test.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ public int yieldWrapper(int x) {
1111
}
1212

1313
}
14+
15+
// Diagnostic Matches: Erroneous node in tree: (ERROR)
16+
// Diagnostic Matches: In file Test.java:8:15 no end location for JCMethodInvocation : yield(x)
17+
// Diagnostic Matches: 1 errors during annotation processing

0 commit comments

Comments
 (0)