diff options
| -rw-r--r-- | tests/unit_tests/completion_test.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit_tests/completion_test.coffee b/tests/unit_tests/completion_test.coffee index 6b952faa..f3ed4e61 100644 --- a/tests/unit_tests/completion_test.coffee +++ b/tests/unit_tests/completion_test.coffee @@ -130,8 +130,8 @@ context "tab completer", should "return matching tabs", -> results = filterCompleter(@completer, ["tab2"]) - assert.equal "tab2.com", results.map (tab) -> tab.url - assert.equal 2, results.map (tab) -> tab.tabId + assert.arrayEqual ["tab2.com"], results.map (tab) -> tab.url + assert.arrayEqual [2], results.map (tab) -> tab.tabId context "suggestions", should "escape html in page titles", -> |
