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 <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 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.