From b1b82ad309c74963254875fa7b7b23b97d560137 Mon Sep 17 00:00:00 2001 From: Sergey Karashevich Date: Fri, 6 Apr 2018 18:07:16 +0300 Subject: [PATCH] [gui-test] fix the Keys resolving --- .../src/com/intellij/testGuiFramework/util/Keys.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/testGuiFramework/src/com/intellij/testGuiFramework/util/Keys.kt b/platform/testGuiFramework/src/com/intellij/testGuiFramework/util/Keys.kt index 4d6e7e0576c2..a97f05c7729d 100644 --- a/platform/testGuiFramework/src/com/intellij/testGuiFramework/util/Keys.kt +++ b/platform/testGuiFramework/src/com/intellij/testGuiFramework/util/Keys.kt @@ -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) } \ No newline at end of file