From ec9b6aa9938044beaa861bdf6f81943d9ca186ee Mon Sep 17 00:00:00 2001 From: ariskotsomitopoulos Date: Mon, 31 Jan 2022 14:50:57 +0200 Subject: [PATCH] Fix error in unit test --- .../java/im/vector/app/features/command/CommandParserTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/src/test/java/im/vector/app/features/command/CommandParserTest.kt b/vector/src/test/java/im/vector/app/features/command/CommandParserTest.kt index 4af03a36f5..2eb17d91fb 100644 --- a/vector/src/test/java/im/vector/app/features/command/CommandParserTest.kt +++ b/vector/src/test/java/im/vector/app/features/command/CommandParserTest.kt @@ -60,7 +60,7 @@ class CommandParserTest { private fun test(message: String, expectedResult: ParsedCommand) { val commandParser = CommandParser() - val result = commandParser.parseSlashCommand(message) + val result = commandParser.parseSlashCommand(message,false) result shouldBeEqualTo expectedResult } }