Skip to content

Commit

Permalink
remove old node v0.4 test
Browse files Browse the repository at this point in the history
  • Loading branch information
fent committed Mar 15, 2013
1 parent f93af87 commit dd58a24
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions test/main-test.js
Expand Up @@ -131,23 +131,6 @@ describe('Listen for an event', function() {
assert.equal(lastCat, 'dogton');
});
});

/*
* does not work with node v0.4.x
* because `removeAllListeners()` must be called with an event name
describe('Remove all listeners', function() {
it('Does not call any listener', function() {
yoshi.removeAllListeners();
ee2.emit('hello', 'world3');
ee2.emit('cat', 'diddy');
ee2.emit('foo', 'boor');
assert.equal(lastFoo, 'world');
assert.equal(lastCat, 'dogton');
assert.equal(lastHello, 'world');
});
});
*/
});

});
Expand Down

0 comments on commit dd58a24

Please sign in to comment.