From 229226e9699a0300bfcea4627550cff7c30b943a Mon Sep 17 00:00:00 2001 From: mohamedsamehsalah Date: Thu, 1 Jun 2023 13:16:32 +0200 Subject: [PATCH] Remove unnecessary test cases --- .../errorprone/bugpatterns/NestedPublishersTest.java | 10 ---------- 1 file changed, 10 deletions(-) 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:",