Skip to content

Commit 81aebc4

Browse files
committed
Polish
1 parent 909c6cd commit 81aebc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reactor-netty-core/src/test/java/reactor/netty/channel/MonoSendManyTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
import io.netty.handler.timeout.WriteTimeoutHandler;
3434
import io.netty.util.ReferenceCountUtil;
3535
import io.netty.util.ReferenceCounted;
36-
import org.assertj.core.api.Assertions;
3736
import org.junit.jupiter.params.ParameterizedTest;
3837
import org.junit.jupiter.params.provider.ValueSource;
3938
import org.reactivestreams.Subscription;
@@ -267,6 +266,7 @@ void shouldNotLeakIfFusedOnRacingCancelAndOnNext(boolean flushOnEach) {
267266

268267
@ParameterizedTest
269268
@ValueSource(booleans = {true, false})
269+
@SuppressWarnings("unchecked")
270270
void shouldCallQueueClearToNotifyTermination(boolean flushOnEach) {
271271
//use an extra handler
272272
EmbeddedChannel channel = new EmbeddedChannel(true, true, new ChannelHandlerAdapter() {});
@@ -339,7 +339,7 @@ public void onComplete() {
339339

340340
channel.flush();
341341
messages.forEach(ReferenceCountUtil::release);
342-
Assertions.assertThat(cleared).isTrue();
342+
assertThat(cleared).isTrue();
343343
}
344344

345345
static void wait(WeakReference<Subscription> ref) {

0 commit comments

Comments
 (0)