Skip to content

Commit

Permalink
test: adapted test for EventEmitter update
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Aug 13, 2012
1 parent 5ab8b62 commit 7b4cb70
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/events.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@
event.on('test:more', empty);
event.removeAllListeners();

// TODO: with node 0.5 we'll change this to expect []
event.listeners('test').should().eql([empty]);
event.listeners('test:more').should().eql([empty]);
event.listeners('test').should().eql([]);
event.listeners('test:more').should().eql([]);
},

'remove listeners functions': function () {
Expand Down

0 comments on commit 7b4cb70

Please sign in to comment.