aboutsummaryrefslogtreecommitdiff
path: root/src/test/kotlin/features/macros/KeyComboTrieCreation.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/kotlin/features/macros/KeyComboTrieCreation.kt')
-rw-r--r--src/test/kotlin/features/macros/KeyComboTrieCreation.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/kotlin/features/macros/KeyComboTrieCreation.kt b/src/test/kotlin/features/macros/KeyComboTrieCreation.kt
index c3372e4..31fc3f7 100644
--- a/src/test/kotlin/features/macros/KeyComboTrieCreation.kt
+++ b/src/test/kotlin/features/macros/KeyComboTrieCreation.kt
@@ -2,7 +2,7 @@ package moe.nea.firmament.test.features.macros
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
-import net.minecraft.client.util.InputUtil
+import com.mojang.blaze3d.platform.InputConstants
import moe.nea.firmament.features.macros.Branch
import moe.nea.firmament.features.macros.ComboKeyAction
import moe.nea.firmament.features.macros.CommandAction
@@ -12,9 +12,9 @@ import moe.nea.firmament.keybindings.SavedKeyBinding
class KeyComboTrieCreation {
val basicAction = CommandAction("ac Hello")
- val aPress = SavedKeyBinding.keyWithoutMods(InputUtil.GLFW_KEY_A)
- val bPress = SavedKeyBinding.keyWithoutMods(InputUtil.GLFW_KEY_B)
- val cPress = SavedKeyBinding.keyWithoutMods(InputUtil.GLFW_KEY_C)
+ val aPress = SavedKeyBinding.keyWithoutMods(InputConstants.KEY_A)
+ val bPress = SavedKeyBinding.keyWithoutMods(InputConstants.KEY_B)
+ val cPress = SavedKeyBinding.keyWithoutMods(InputConstants.KEY_C)
@Test
fun testValidShortTrie() {