joyent/node — pull request #6104 by kanongil (2013-08-22 12:58:19+00:00)
Title: test: Check that events are not emitted too soon

Add some test that explicitly validates that listeners are not called before nextTick.

These are highly relevant to test since `Readable` streams override the `on()` method, and currently fails the updated compatibility test when applied to the stable 0.10 branch.