diff options
Diffstat (limited to 'test/test-tcp-bind6-error.c')
-rw-r--r-- | test/test-tcp-bind6-error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-tcp-bind6-error.c b/test/test-tcp-bind6-error.c index f9f099e1..61afc7f1 100644 --- a/test/test-tcp-bind6-error.c +++ b/test/test-tcp-bind6-error.c @@ -103,7 +103,7 @@ TEST_IMPL(tcp_bind6_error_fault) { r = uv_tcp_bind6(&server, *garbage_addr); ASSERT(r == -1); - ASSERT(uv_last_error(uv_default_loop()).code == UV_EFAULT); + ASSERT(uv_last_error(uv_default_loop()).code == UV_EINVAL); uv_close((uv_handle_t*)&server, close_cb); |