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 <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • 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.