We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93fc01a commit 4cb2aa1Copy full SHA for 4cb2aa1
1 file changed
src/test/java/org/javacs/WarningsTest.java
@@ -92,7 +92,7 @@ public void unused() {
92
assertThat(errors, hasItem("unused_method(30)")); // private void unusedMutuallyRecursive1() { ... }
93
assertThat(errors, hasItem("unused_method(34)")); // private void unusedMutuallyRecursive2() { ... }
94
assertThat(errors, not(hasItem("unused_method(38)"))); // private int usedByUnusedVar() { ... }
95
- assertThat(errors, not(hasItem("unused_throw(46)"))); // void notActuallyThrown() throws Exception { }
+ assertThat(errors, hasItem("unused_throws(46)")); // void notActuallyThrown() throws Exception { }
96
}
97
98
@Test
0 commit comments