Skip to content

Commit

Permalink
fixed close race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Qix- committed Aug 9, 2015
1 parent 74c9ba4 commit aced118
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/legos.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ suite legos.LegoGlob, null, {autoClose: false}, ->
results = []
next.write = (item)-> results.push item
next.close = ->
legos.Lego.prototype.close.apply @, arguments
# TODO when shouldjs/should.js#74 is accepted, change to `.deepEqual`
results.should.eql ['bar', 'foo', 'qux', 'qux/qix']
lego._open.should.equal no
Expand Down

0 comments on commit aced118

Please sign in to comment.