summaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/javacs/WarningsTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/java/org/javacs/WarningsTest.java b/src/test/java/org/javacs/WarningsTest.java
index 692e985..7619f25 100644
--- a/src/test/java/org/javacs/WarningsTest.java
+++ b/src/test/java/org/javacs/WarningsTest.java
@@ -32,5 +32,6 @@ public class WarningsTest {
public void unusedLocal() {
server.reportErrors(List.of(FindResource.uri("org/javacs/warn/Unused.java")));
assertThat(errors, hasItem("unused(5)"));
+ assertThat(errors, not(hasItem("unused(4)")));
}
}