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 09154c2..c4f9747 100644
--- a/src/test/java/org/javacs/WarningsTest.java
+++ b/src/test/java/org/javacs/WarningsTest.java
@@ -36,6 +36,7 @@ public class WarningsTest {
assertThat(errors, hasItem("unused(13)")); // int unusedLocalInLambda
assertThat(errors, hasItem("unused(16)")); // int unusedMethod() { ... }
assertThat(errors, hasItem("unused(22)")); // private Unused(int i) { }
+ assertThat(errors, hasItem("unused(24)")); // private class UnusedClass { }
assertThat(errors, not(hasItem("unused(6)"))); // test(int unusedParam)
assertThat(errors, not(hasItem("unused(12)"))); // unusedLambdaParam -> {};
assertThat(errors, not(hasItem("unused(20)"))); // private Unused() { }