Do not rely on properties order in scope tests

This commit is contained in:
Quentin Barbe 2014-05-21 16:40:44 +02:00
parent c608901d5a
commit c65f584112
1 changed files with 1 additions and 1 deletions

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", -> test "loop variable should be accessible after for-of loop", ->
d = (x for x of {1:'a',2:'b'}) 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", -> test "loop variable should be accessible after for-in loop", ->
d = (x for x in [1,2]) d = (x for x in [1,2])