diff options
Diffstat (limited to 'test/parallel/test-cluster-dgram-1.js')
-rw-r--r-- | test/parallel/test-cluster-dgram-1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-cluster-dgram-1.js b/test/parallel/test-cluster-dgram-1.js index 9404c55f2b..de9c1ef392 100644 --- a/test/parallel/test-cluster-dgram-1.js +++ b/test/parallel/test-cluster-dgram-1.js @@ -33,7 +33,7 @@ function master() { return; // Start sending messages. - var buf = new Buffer('hello world'); + var buf = Buffer.from('hello world'); var socket = dgram.createSocket('udp4'); var sent = 0; doSend(); |