lib: fix undefined timeout regression
63644dd1 introduced a regression caused by everyone's favourite JavaScript feature: undefined < 0 === undefined >= 0. Add a case to the existing tests to cover this scenario and then add the check for undefined that makes the test pass. PR-URL: https://github.com/nodejs/node/pull/3331 Reviewed-By:Fedor Indutny <fedor@indutny.com> Reviewed By: Evan Lucas <evanlucas@me.com>
parent
47db2472
Please register or sign in to comment