mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Fix build
This commit is contained in:
parent
e668e48f98
commit
71a83c8509
@ -11,20 +11,18 @@
|
||||
|
||||
package net.mamoe.mirai.console.command
|
||||
|
||||
import kotlinx.coroutines.runBlocking
|
||||
import net.mamoe.mirai.Bot
|
||||
import net.mamoe.mirai.console.plugins.PluginBase
|
||||
import net.mamoe.mirai.message.data.*
|
||||
import org.junit.jupiter.api.Test
|
||||
import kotlin.test.assertEquals
|
||||
import kotlin.test.assertFalse
|
||||
import kotlin.test.assertTrue
|
||||
|
||||
|
||||
val plugin: PluginBase = object : PluginBase() {
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
internal object TestCommand : PluginCommand(
|
||||
plugin,
|
||||
CommandDescriptor("test") {
|
||||
@ -36,7 +34,7 @@ internal object TestCommand : PluginCommand(
|
||||
sendMessage(s)
|
||||
return true
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
internal class TestCommands {
|
||||
@Test
|
||||
@ -50,6 +48,7 @@ internal class TestCommands {
|
||||
)
|
||||
}
|
||||
|
||||
/*
|
||||
@Test
|
||||
fun testRegister() {
|
||||
assertTrue(TestCommand.register())
|
||||
@ -81,7 +80,7 @@ internal class TestCommands {
|
||||
execute("test", "arg")
|
||||
}.contentToString()
|
||||
)
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user