Permalink
Browse files

test: adapted test for EventEmitter update

  • Loading branch information...
1 parent 5ab8b62 commit 7b4cb7013efa5481cc8400d601a9920c39701305 @rauchg rauchg committed Aug 13, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 test/events.test.js
View
@@ -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 () {

0 comments on commit 7b4cb70

Please sign in to comment.