diff options
| author | Stephen Blott | 2016-03-17 10:47:36 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2016-03-17 10:47:36 +0000 | 
| commit | 8390d54b0ccf201f54bdb69d302d7b4c3b75e29a (patch) | |
| tree | 3e06d1eb448d8b3aa044d2609ca602a113aa1ed7 /tests | |
| parent | d53ce1494676fb47504d7822f39efe474ffa080b (diff) | |
| download | vimium-8390d54b0ccf201f54bdb69d302d7b4c3b75e29a.tar.bz2 | |
Fix long-standing bug in link-hints tests.
This code has been written to test both hints modes, however we were
actually only testing one of them!
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/dom_tests/dom_tests.coffee | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/tests/dom_tests/dom_tests.coffee b/tests/dom_tests/dom_tests.coffee index b8dd44af..7ad95a98 100644 --- a/tests/dom_tests/dom_tests.coffee +++ b/tests/dom_tests/dom_tests.coffee @@ -65,8 +65,9 @@ createGeneralHintTests = (isFilteredMode) ->        initializeModeState()        testContent = "<a>test</a>" + "<a>tress</a>"        document.getElementById("test-div").innerHTML = testContent -      stubSettings "filterLinkHints", false +      stubSettings "filterLinkHints", isFilteredMode        stubSettings "linkHintCharacters", "ab" +      stubSettings "linkHintNumbers", "12"      tearDown ->        document.getElementById("test-div").innerHTML = "" | 
