diff options
Diffstat (limited to 'test/parallel/test-timers-zero-timeout.js')
-rw-r--r-- | test/parallel/test-timers-zero-timeout.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-timers-zero-timeout.js b/test/parallel/test-timers-zero-timeout.js index 44a29b4993..4e1eefb40d 100644 --- a/test/parallel/test-timers-zero-timeout.js +++ b/test/parallel/test-timers-zero-timeout.js @@ -26,7 +26,7 @@ const assert = require('assert'); // https://github.com/joyent/node/issues/2079 - zero timeout drops extra args { setTimeout(common.mustCall(f), 0, 'foo', 'bar', 'baz'); - setTimeout(function() {}, 0); + setTimeout(common.noop, 0); function f(a, b, c) { assert.strictEqual(a, 'foo'); |