test: future-proof simple/test-event-emitter-memory-leak
authorBen Noordhuis <info@bnoordhuis.nl>
Thu, 1 Aug 2013 14:09:42 +0000 (16:09 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Thu, 1 Aug 2013 14:14:14 +0000 (16:14 +0200)
commit9e1eb361e8deb3f296a3c9d01de8fcc10361443f
tree8c813697263581f60dce24227ab502c06768c02c
parent98db7babccfbf2abe5de4fee6bcaa97aa7ebfe75
test: future-proof simple/test-event-emitter-memory-leak

Run the garbage collector before running the actual test. It doesn't
matter now but if in the future something in node.js core creates a lot
of reclaimable garbage, that will break the test's expectation.
test/simple/test-event-emitter-memory-leak.js