diff options
Diffstat (limited to 'test/parallel/test-dgram-multicast-setTTL.js')
-rw-r--r-- | test/parallel/test-dgram-multicast-setTTL.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-dgram-multicast-setTTL.js b/test/parallel/test-dgram-multicast-setTTL.js index b7d1e01b32..bd04ce4f32 100644 --- a/test/parallel/test-dgram-multicast-setTTL.js +++ b/test/parallel/test-dgram-multicast-setTTL.js @@ -40,7 +40,7 @@ socket.on('listening', common.mustCall(() => { }, common.expectsError({ code: 'ERR_INVALID_ARG_TYPE', type: TypeError, - message: /^The "arg" argument must be of type number$/ + message: 'The "ttl" argument must be of type number. Received type string' })); //close the socket |