Merge pull request #3492 from forty/master

Do not rely on properties order in scope tests
This commit is contained in:
Michael Ficarra
2014-05-21 07:49:39 -07:00

View File

@@ -35,7 +35,7 @@ test "catch statements should introduce their argument to scope", ->
test "loop variable should be accessible after for-of loop", ->
d = (x for x of {1:'a',2:'b'})
eq x, '2'
ok x in ['1','2']
test "loop variable should be accessible after for-in loop", ->
d = (x for x in [1,2])