From 5d19b2c3c44fe3dc77e6a92aa3be3de9f4fa694c Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Fri, 1 Nov 2019 19:50:37 +0300 Subject: [PATCH] Allow to mute tests with spaces in names --- .../tests/org/jetbrains/kotlin/test/muteWithDatabase.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/tests-common/tests/org/jetbrains/kotlin/test/muteWithDatabase.kt b/compiler/tests-common/tests/org/jetbrains/kotlin/test/muteWithDatabase.kt index d6906010c19..776ba12cf5b 100644 --- a/compiler/tests-common/tests/org/jetbrains/kotlin/test/muteWithDatabase.kt +++ b/compiler/tests-common/tests/org/jetbrains/kotlin/test/muteWithDatabase.kt @@ -13,7 +13,7 @@ private class MutedTest( val issue: String?, val hasFailFile: Boolean ) { - val methodName = key.substringAfterLast(".", "").also { + val methodName = key.substringAfterLast(".", "").replace("`", "").also { if (it.isEmpty()) throw IllegalArgumentException("Can't get method name") } val classNameKey = key.substringBeforeLast(".", "").also {