diff --git a/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/NestedPublishersTest.java b/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/NestedPublishersTest.java index 1bedc403275..c4dc6a3e67d 100644 --- a/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/NestedPublishersTest.java +++ b/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/NestedPublishersTest.java @@ -27,16 +27,6 @@ void identification() { " // BUG: Diagnostic contains:", " Mono.just(1).map(Flux::just);", "", - " Mono.justOrEmpty(null);", - " // BUG: Diagnostic contains:", - " Mono.justOrEmpty(Mono.just(1));", - " // BUG: Diagnostic contains:", - " Mono.justOrEmpty(Flux.just(1));", - " // BUG: Diagnostic contains:", - " Mono.justOrEmpty(1).map(Mono::just);", - " // BUG: Diagnostic contains:", - " Mono.justOrEmpty(1).map(Flux::just);", - "", " // BUG: Diagnostic contains:", " Flux.just(Flux.empty());", " // BUG: Diagnostic contains:",