test: Timeout#unref() does not return instance
authorJan Schär <jscissr@gmail.com>
Mon, 9 Feb 2015 15:51:12 +0000 (16:51 +0100)
committercjihrig <cjihrig@gmail.com>
Fri, 13 Feb 2015 18:37:25 +0000 (13:37 -0500)
commit3b1b4de9033e2dd167061692c31b9231368ccb81
treea510c81b93c0cb71ee000ccd3eb8ecedf3c4a8be
parent30dca66958daa8ae1ca25834118a16a68c08f65b
test: Timeout#unref() does not return instance

Timeout#unref() call returns undefined, not this. The test already
worked before, because the interval was still unref'd, and the test also
succeeds without clearing the interval.

PR-URL: https://github.com/joyent/node/pull/9171
Reviewed-by: Colin Ihrig <cjihrig@gmail.com>
Reviewed-by: Timothy J Fontaine <tjfontaine@gmail.com>
Conflicts:
test/simple/test-timers-unref.js
test/parallel/test-timers-unref.js