diff options
| author | mrmr1993 | 2017-10-28 17:04:37 +0100 |
|---|---|---|
| committer | mrmr1993 | 2017-10-28 17:04:37 +0100 |
| commit | f65720e58e31a0218e0c176a9140520451e5dd7d (patch) | |
| tree | 0407fe8896233840478dae448fded55bd043ad0c /tests | |
| parent | 5c4aab3d4488e5d8d64aba122791f86fc9766b99 (diff) | |
| download | vimium-f65720e58e31a0218e0c176a9140520451e5dd7d.tar.bz2 | |
Remove invokeCommandString, call NormalModeCommands directly
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/unit_tests/utils_test.coffee | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/unit_tests/utils_test.coffee b/tests/unit_tests/utils_test.coffee index cc1081dd..2794a6d7 100644 --- a/tests/unit_tests/utils_test.coffee +++ b/tests/unit_tests/utils_test.coffee @@ -138,26 +138,6 @@ context "distinctCharacters", should "eliminate duplicate characters", -> assert.equal "abc", Utils.distinctCharacters "bbabaabbacabbbab" -context "invokeCommandString", - setup -> - @beenCalled = false - window.singleComponentCommand = => @beenCalled = true - window.twoComponentCommand = command: window.singleComponentCommand - - tearDown -> - delete window.singleComponentCommand - delete window.twoComponentCommand - - should "invoke single-component commands", -> - assert.isFalse @beenCalled - Utils.invokeCommandString "singleComponentCommand" - assert.isTrue @beenCalled - - should "invoke multi-component commands", -> - assert.isFalse @beenCalled - Utils.invokeCommandString "twoComponentCommand.command" - assert.isTrue @beenCalled - context "escapeRegexSpecialCharacters", should "escape regexp special characters", -> str = "-[]/{}()*+?.^$|" |
