From c41416ca47c393471000d4f9653fffd60f43eba2 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Mon, 24 Nov 2014 06:20:31 +0000 Subject: Add test for array object methods. --- tests/unit_tests/utils_test.coffee | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/unit_tests/utils_test.coffee') 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 -- cgit v1.2.3