diff options
| author | Stephen Blott | 2014-11-24 06:20:31 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2014-11-24 06:20:31 +0000 | 
| commit | c41416ca47c393471000d4f9653fffd60f43eba2 (patch) | |
| tree | c369b4481788752b13eeb99c6fc97077502a72f8 | |
| parent | b83165dd1f279c2b139401bd9efc075bc89cf060 (diff) | |
| download | vimium-c41416ca47c393471000d4f9653fffd60f43eba2.tar.bz2 | |
Add test for array object methods.
| -rw-r--r-- | tests/unit_tests/utils_test.coffee | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/tests/unit_tests/utils_test.coffee b/tests/unit_tests/utils_test.coffee index 556f5b7a..5009f4d7 100644 --- a/tests/unit_tests/utils_test.coffee +++ b/tests/unit_tests/utils_test.coffee @@ -81,3 +81,9 @@ context "compare versions",      assert.equal -1, Utils.compareVersions("1.40.1", "1.40.2")      assert.equal -1, Utils.compareVersions("1.40.1", "1.41")      assert.equal 1, Utils.compareVersions("1.41", "1.40") + +context "miscellaneous tests for arrays", +  # We should not add Array::abc methods. +  should "not have additional properties", -> +    for value in [] +      assert.isTrue false | 
