From 7b4cb7013efa5481cc8400d601a9920c39701305 Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Mon, 13 Aug 2012 14:02:01 -0700 Subject: [PATCH] test: adapted test for EventEmitter update --- test/events.test.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/events.test.js b/test/events.test.js index 6240d0c8a3..365c422315 100644 --- a/test/events.test.js +++ b/test/events.test.js @@ -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 () {