diff options
| -rw-r--r-- | tests/completion_test.coffee | 4 |
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", -> |
