Skip to content

Commit

Permalink
Fixed unit test for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fpagliughi committed Dec 11, 2023
1 parent 5358647 commit 15d8371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_connector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ TEST_CASE("connector unspecified address", "[connector]") {

// Windows returns a different error code than *nix
#if defined(_WIN32)
REQUIRE(conn.last_error() == WSAENOTSOCK);
REQUIRE(conn.last_error() == WSAEINVAL);
#else
REQUIRE(conn.last_error() == EAFNOSUPPORT);
#endif
Expand Down

0 comments on commit 15d8371

Please sign in to comment.