aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2016-01-28 17:06:43 +0000
committerStephen Blott2016-01-28 17:06:43 +0000
commit811b3bb0280a624b6a3e17c0199ec78a1aef7e07 (patch)
tree500f2a2d0c7000e3abd191ce53f7f3de37d0c674
parent4c6c3210639bcf23f33b419963d930743062811a (diff)
downloadvimium-811b3bb0280a624b6a3e17c0199ec78a1aef7e07.tar.bz2
Simplify hint-string generation; fix tests.
-rw-r--r--tests/dom_tests/dom_tests.coffee4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/dom_tests/dom_tests.coffee b/tests/dom_tests/dom_tests.coffee
index e814ec76..1d4703c1 100644
--- a/tests/dom_tests/dom_tests.coffee
+++ b/tests/dom_tests/dom_tests.coffee
@@ -149,10 +149,8 @@ context "Alphabetical link hints",
document.getElementById("test-div").innerHTML = ""
should "label the hints correctly", ->
- # TODO(philc): This test verifies the current behavior, but the current behavior is incorrect.
- # The output here should be something like aa, ab, b.
hintMarkers = getHintMarkers()
- expectedHints = ["aa", "ba", "ab"]
+ expectedHints = ["aa", "b", "ab"]
for hint, i in expectedHints
assert.equal hint, hintMarkers[i].hintString