diff options
Diffstat (limited to 'tests/unit_tests')
| -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 | 
