diff --git a/test/parallel/test-net-better-error-messages-listen-path.js b/test/parallel/test-net-better-error-messages-listen-path.js index 41d22c3fb9a4b5..50ed80a5e3cd1e 100644 --- a/test/parallel/test-net-better-error-messages-listen-path.js +++ b/test/parallel/test-net-better-error-messages-listen-path.js @@ -1,10 +1,10 @@ 'use strict'; -var common = require('../common'); -var assert = require('assert'); -var net = require('net'); -var fp = '/blah/fadfa'; -var server = net.createServer(common.fail); +const common = require('../common'); +const assert = require('assert'); +const net = require('net'); +const fp = '/blah/fadfa'; +const server = net.createServer(common.fail); server.listen(fp, common.fail); server.on('error', common.mustCall(function(e) { - assert.equal(e.address, fp); + assert.strictEqual(e.address, fp); }));