diff options
| author | Jez Ng | 2012-07-26 03:14:45 -0700 | 
|---|---|---|
| committer | Jez Ng | 2012-07-26 03:14:45 -0700 | 
| commit | e124536b675be48937c373bcf602b11e02ab87f8 (patch) | |
| tree | 075ff4e407fe5060f6ba91d69acdc06c2d7d8b92 | |
| parent | b02df18616a562a6907c9c40a8b9f26abd85ea1e (diff) | |
| download | vimium-e124536b675be48937c373bcf602b11e02ab87f8.tar.bz2 | |
Fix tests.
| -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", -> | 
