summaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2019-01-05 13:19:15 -0800
committerGeorge Fraser <george@fivetran.com>2019-01-05 13:19:15 -0800
commit9b5383d79cb759b40f74a072c0e34debd253db83 (patch)
tree9e15274f2c8fb22320b0c70db2ca44c784f7ac9b /src/test/java
parent7c7202e0ad442dddac1a56890b34c3eb2f045f28 (diff)
downloadjava-language-server-9b5383d79cb759b40f74a072c0e34debd253db83.zip
Don't warn unused params
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)")));
}
}