Skip to content

Commit

Permalink
test: update test for libuv update
Browse files Browse the repository at this point in the history
Starting in libuv 1.27.0, test-dgram-address.js should expect
EBADF instead of EINVAL.

Backport-PR-URL: #27728
PR-URL: #26707
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
cjihrig authored and MylesBorins committed May 16, 2019
1 parent 8ea22bb commit f76776b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-dgram-address.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ if (common.hasIPv6) {

assert.throws(() => {
socket.address();
}, /^Error: getsockname EINVAL$/);
}, /^Error: getsockname EBADF$/);
}

0 comments on commit f76776b

Please sign in to comment.