mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
Merge pull request #3492 from forty/master
Do not rely on properties order in scope tests
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user