aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit_tests
diff options
context:
space:
mode:
authorStephen Blott2015-05-09 16:47:28 +0100
committerStephen Blott2015-05-09 16:47:28 +0100
commit311b35e416053a0d5d03eaf7eb894375f6e0f20d (patch)
tree87773181649f2a61c443117fc36723ea27bc6ea1 /tests/unit_tests
parentd73775057d443a53668f6a93fe45cc4a4b412de7 (diff)
downloadvimium-311b35e416053a0d5d03eaf7eb894375f6e0f20d.tar.bz2
Search completion; tweaks and tests.
Diffstat (limited to 'tests/unit_tests')
-rw-r--r--tests/unit_tests/completion_test.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit_tests/completion_test.coffee b/tests/unit_tests/completion_test.coffee
index b9a062f2..b45c99dd 100644
--- a/tests/unit_tests/completion_test.coffee
+++ b/tests/unit_tests/completion_test.coffee
@@ -248,8 +248,8 @@ context "search engines",
should "return search engine suggestion without description", ->
results = filterCompleter(@completer, ["foo", "hello"])
assert.arrayEqual ["bar?q=hello"], results.map (result) -> result.url
- assert.arrayEqual ["foo: hello"], results.map (result) -> result.title
- assert.arrayEqual ["custom search"], results.map (result) -> result.type
+ assert.arrayEqual ["hello"], results.map (result) -> result.title
+ assert.arrayEqual ["search [foo]"], results.map (result) -> result.type
should "return search engine suggestion with description", ->
results = filterCompleter(@completer, ["baz", "hello"])