Commit bde32f8a authored by Ryan Graham's avatar Ryan Graham Committed by Fedor Indutny
Browse files

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: default avatarFedor Indutny <fedor@indutny.com>
Reviewed By: Evan Lucas <evanlucas@me.com>
parent 47db2472
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment