From 45d16124125271257cb47906e2d27aaa44b51428 Mon Sep 17 00:00:00 2001 From: Jason Hedrick Date: Fri, 19 Aug 2016 14:24:52 -0700 Subject: [PATCH] test: comparison operator now more strict The 'equals' comparison operator was '==' instead of the more strict '===', so it has been changed to be more strict --- test/parallel/test-timers-zero-timeout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-timers-zero-timeout.js b/test/parallel/test-timers-zero-timeout.js index 00e75b7ea8fa24..5d72cfe85fb870 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() {