summaryrefslogtreecommitdiff
path: root/test/disabled/test-sendfd.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/disabled/test-sendfd.js')
-rw-r--r--test/disabled/test-sendfd.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/disabled/test-sendfd.js b/test/disabled/test-sendfd.js
index 8de6045cb2..68d4099371 100644
--- a/test/disabled/test-sendfd.js
+++ b/test/disabled/test-sendfd.js
@@ -74,7 +74,7 @@ pipeReadStream.on('data', function(data) {
var rd = JSON.parse(d);
assert.strictEqual(rd.pid, cpp);
- assert.strictEqual(seenOrdinals.indexOf(rd.ord), -1);
+ assert.strictEqual(seenOrdinals.includes(rd.ord), false)
seenOrdinals.unshift(rd.ord);
});