[gui-test] fix the Keys resolving

This commit is contained in:
Sergey Karashevich
2018-04-06 18:45:06 +03:00
parent d9954c9173
commit b1b82ad309
@@ -253,5 +253,5 @@ operator fun Shortcut.plus(shortcut: Shortcut): Shortcut {
fun resolveKey(inputString: String): Key {
return if (Regex("\\d]").matches(inputString)) Key.valueOf("d$inputString")
else Key.valueOf("d$inputString")
else Key.valueOf(inputString)
}