From cfdce8dd8cc7640b7c8cfe754d71a51648c59b9d Mon Sep 17 00:00:00 2001 From: Him188 Date: Tue, 27 Oct 2020 21:58:57 +0800 Subject: [PATCH] Update TestCommand.kt --- .../test/kotlin/net/mamoe/mirai/console/command/TestCommand.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/mirai-console/src/test/kotlin/net/mamoe/mirai/console/command/TestCommand.kt b/backend/mirai-console/src/test/kotlin/net/mamoe/mirai/console/command/TestCommand.kt index f9cf618dc..3a89ca769 100644 --- a/backend/mirai-console/src/test/kotlin/net/mamoe/mirai/console/command/TestCommand.kt +++ b/backend/mirai-console/src/test/kotlin/net/mamoe/mirai/console/command/TestCommand.kt @@ -77,7 +77,6 @@ internal class TestCommand { @Test fun testRegister() { - error(TestCompositeCommand.usage) try { unregisterAllCommands(ConsoleCommandOwner) // builtins unregisterCommand(TestSimpleCommand) @@ -339,4 +338,4 @@ internal fun assertSuccess(result: CommandExecuteResult) { if (result.isFailure()) { throw result.exception ?: AssertionError(result.toString()) } -} \ No newline at end of file +}