summaryrefslogtreecommitdiff
path: root/test/parallel/test-dgram-bind.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-dgram-bind.js')
-rw-r--r--test/parallel/test-dgram-bind.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-dgram-bind.js b/test/parallel/test-dgram-bind.js
index 6df102b32d..882f2e87bd 100644
--- a/test/parallel/test-dgram-bind.js
+++ b/test/parallel/test-dgram-bind.js
@@ -3,12 +3,12 @@ require('../common');
const assert = require('assert');
const dgram = require('dgram');
-var socket = dgram.createSocket('udp4');
+const socket = dgram.createSocket('udp4');
socket.on('listening', function() {
socket.close();
});
-var result = socket.bind(); // should not throw
+const result = socket.bind(); // should not throw
assert.strictEqual(result, socket); // should have returned itself