From e0140c6272d2c6a03d21a1707845b8a75fb3058a Mon Sep 17 00:00:00 2001 From: Him188 Date: Fri, 13 May 2022 23:12:28 +0100 Subject: [PATCH] Remove useless sub test in NettyHandlerEventTest --- .../kotlin/network/impl/netty/NettyHandlerEventTest.kt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/mirai-core/src/commonTest/kotlin/network/impl/netty/NettyHandlerEventTest.kt b/mirai-core/src/commonTest/kotlin/network/impl/netty/NettyHandlerEventTest.kt index 92bf9d3d9..bd3498b56 100644 --- a/mirai-core/src/commonTest/kotlin/network/impl/netty/NettyHandlerEventTest.kt +++ b/mirai-core/src/commonTest/kotlin/network/impl/netty/NettyHandlerEventTest.kt @@ -12,7 +12,6 @@ package net.mamoe.mirai.internal.network.impl.netty import kotlinx.coroutines.CompletableDeferred import kotlinx.coroutines.isActive import net.mamoe.mirai.event.Event -import net.mamoe.mirai.event.broadcast import net.mamoe.mirai.event.events.BotOfflineEvent import net.mamoe.mirai.event.events.BotOnlineEvent import net.mamoe.mirai.event.events.BotReloginEvent @@ -121,12 +120,6 @@ internal class NettyHandlerEventTest : AbstractNettyNHTest() { } } - - @Test - fun testPreconditions() = runBlockingUnit { - assertEventBroadcasts(1) { BotOfflineEvent.Active(bot, null).broadcast() } - } - @Test fun `BotOffline from OK TO CLOSED`() = runBlockingUnit { bot.login()