aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStephen Blott2016-10-02 09:39:18 +0100
committerStephen Blott2016-10-02 09:39:21 +0100
commit4305730d512276fd929eaf12b8c134e69df52437 (patch)
tree829bb6f13d34be47857a4d1cb578e92c621446fd /tests
parent3245cb8e605ba3fd59b9f99bdd28714157ed06eb (diff)
downloadvimium-4305730d512276fd929eaf12b8c134e69df52437.tar.bz2
Rename normalizeKey to parseKeySequence.
The new name better describes which the function does.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit_tests/commands_test.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/commands_test.coffee b/tests/unit_tests/commands_test.coffee
index 1915e062..fbe470a0 100644
--- a/tests/unit_tests/commands_test.coffee
+++ b/tests/unit_tests/commands_test.coffee
@@ -6,7 +6,7 @@ global.Settings = {postUpdateHooks: {}, get: (-> ""), set: ->}
context "Key mappings",
setup ->
@testKeySequence = (key, expectedKeyText, expectedKeyLength) ->
- keySequence = Commands.normalizeKey key
+ keySequence = Commands.parseKeySequence key
assert.equal expectedKeyText, keySequence.join "/"
assert.equal expectedKeyLength, keySequence.length