aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJez Ng2012-07-26 03:14:45 -0700
committerJez Ng2012-07-26 03:14:45 -0700
commite124536b675be48937c373bcf602b11e02ab87f8 (patch)
tree075ff4e407fe5060f6ba91d69acdc06c2d7d8b92
parentb02df18616a562a6907c9c40a8b9f26abd85ea1e (diff)
downloadvimium-e124536b675be48937c373bcf602b11e02ab87f8.tar.bz2
Fix tests.
-rw-r--r--tests/completion_test.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/completion_test.coffee b/tests/completion_test.coffee
index e27a188f..7094d720 100644
--- a/tests/completion_test.coffee
+++ b/tests/completion_test.coffee
@@ -139,12 +139,12 @@ context "suggestions",
should "highlight query words", ->
suggestion = new Suggestion(["ninj", "words"], "tab", "url", "ninjawords", returns(1))
- expected = "<span class='match'>ninj</span>a<span class='match'>words</span>"
+ expected = "<span class='vomnibarMatch'>ninj</span>a<span class='vomnibarMatch'>words</span>"
assert.isTrue suggestion.generateHtml().indexOf(expected) >= 0
should "highlight query words correctly when whey they overlap", ->
suggestion = new Suggestion(["ninj", "jaword"], "tab", "url", "ninjawords", returns(1))
- expected = "<span class='match'>ninjaword</span>s"
+ expected = "<span class='vomnibarMatch'>ninjaword</span>s"
assert.isTrue suggestion.generateHtml().indexOf(expected) >= 0
should "shorten urls", ->