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.

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 targos committed Mar 27, 2019
1 parent d075814 commit 2d68988
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 2d68988

Please sign in to comment.