Allow to mute tests with spaces in names
This commit is contained in:
@@ -13,7 +13,7 @@ private class MutedTest(
|
|||||||
val issue: String?,
|
val issue: String?,
|
||||||
val hasFailFile: Boolean
|
val hasFailFile: Boolean
|
||||||
) {
|
) {
|
||||||
val methodName = key.substringAfterLast(".", "").also {
|
val methodName = key.substringAfterLast(".", "").replace("`", "").also {
|
||||||
if (it.isEmpty()) throw IllegalArgumentException("Can't get method name")
|
if (it.isEmpty()) throw IllegalArgumentException("Can't get method name")
|
||||||
}
|
}
|
||||||
val classNameKey = key.substringBeforeLast(".", "").also {
|
val classNameKey = key.substringBeforeLast(".", "").also {
|
||||||
|
|||||||
Reference in New Issue
Block a user