Permalink
Browse files

test for #1409

  • Loading branch information...
1 parent 35c2a72 commit e240621a72f1154a45394efcdc74cf3637ba0779 @michaelficarra michaelficarra committed Jun 2, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 test/ranges.coffee
View
@@ -83,3 +83,6 @@ test "#1012 slices with arguments object", ->
arrayEq expected, argsAtEnd
argsAtBoth = (-> [arguments[0]..arguments[1]]) 0, 9
arrayEq expected, argsAtBoth
+
+test "#1409: creating large ranges outside of a function body", ->
+ CoffeeScript.eval '[0..100]'

0 comments on commit e240621

Please sign in to comment.