diff --git a/test/parallel/test-timers-zero-timeout.js b/test/parallel/test-timers-zero-timeout.js index 00e75b7ea8..5d72cfe85f 100644 --- a/test/parallel/test-timers-zero-timeout.js +++ b/test/parallel/test-timers-zero-timeout.js @@ -23,7 +23,7 @@ const assert = require('assert'); assert.strictEqual(a, 'foo'); assert.strictEqual(b, 'bar'); assert.strictEqual(c, 'baz'); - if (++ncalled == 3) clearTimeout(iv); + if (++ncalled === 3) clearTimeout(iv); } process.on('exit', function() {