diff options
| author | mrmr1993 | 2015-09-13 15:10:30 +0100 |
|---|---|---|
| committer | mrmr1993 | 2015-09-13 15:10:30 +0100 |
| commit | 4a28bfb221b4fed51e6badea0c9d6598393794df (patch) | |
| tree | 1ab1a33f0be60116b07e595a134997ef07336af2 /tests | |
| parent | 940ab8d62db784c2506222d3c5c6c1117b30fea3 (diff) | |
| download | vimium-4a28bfb221b4fed51e6badea0c9d6598393794df.tar.bz2 | |
Only show link hints for <label>s for elements without a hint
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/dom_tests/dom_tests.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dom_tests/dom_tests.coffee b/tests/dom_tests/dom_tests.coffee index 80e39dfa..e814ec76 100644 --- a/tests/dom_tests/dom_tests.coffee +++ b/tests/dom_tests/dom_tests.coffee @@ -244,7 +244,7 @@ context "Filtered link hints", hintMarkers = getHintMarkers().map (marker) -> marker.textContent.toLowerCase() # We don't know the actual hint numbers which will be assigned, so we replace them with "N". hintMarkers = hintMarkers.map (str) -> str.replace /^[0-9]+/, "N" - assert.equal 7, hintMarkers.length + assert.equal 5, hintMarkers.length assert.isTrue "N" in hintMarkers assert.isTrue "N" in hintMarkers assert.isTrue "N: a label" in hintMarkers |
