Fix invalid timer test

Previously, setTimeout(fn, 0) would create a new Timer() object,
which has a close() method (and is a bit slower).  The recent
change to more closely emulate browser setTimeout behavior dodges
this path, so this assertion is no longer valid.
pull/24503/head
isaacs 2012-03-15 14:53:17 -07:00
parent 7fc835afe3
commit 702b46c80d
1 changed files with 0 additions and 2 deletions

View File

@ -38,8 +38,6 @@ var assert = require('assert');
process.on('exit', function() {
assert.equal(ncalled, 1);
// timer should be already closed
assert.equal(timer.close(), -1);
});
})();