diff options
| author | Jez Ng | 2012-11-02 23:59:30 -0400 |
|---|---|---|
| committer | Jez Ng | 2012-11-02 23:59:30 -0400 |
| commit | c492f651970437b9f3a9c90d424db31f19225d73 (patch) | |
| tree | b14439316890298146d2440ec5c0d41854ef4fd8 | |
| parent | 63391fb9b9cf0e13d26c4bfd90e9d5da4dd1e93b (diff) | |
| download | vimium-c492f651970437b9f3a9c90d424db31f19225d73.tar.bz2 | |
Make tests pass against strict comparisons.
| -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", -> |
