From 9b5383d79cb759b40f74a072c0e34debd253db83 Mon Sep 17 00:00:00 2001 From: George Fraser Date: Sat, 5 Jan 2019 13:19:15 -0800 Subject: Don't warn unused params --- src/test/java/org/javacs/WarningsTest.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test/java/org') 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)"))); } } -- cgit v1.2.3