Fix unit tests

This commit is contained in:
Lee *!* Clagett
2026-03-13 21:56:34 -04:00
parent c416c37056
commit d88f9d4db4
+3 -3
View File
@@ -200,7 +200,7 @@ LWS_CASE("net::http")
io.run_one(); io.run_one();
} }
EXPECT(actual == lwsf::internal::http::error::timeout); EXPECT(actual == boost::system::error_code{boost::asio::error::host_not_found});
} }
SECTION("connect timeout") SECTION("connect timeout")
@@ -215,7 +215,7 @@ LWS_CASE("net::http")
io.restart(); io.restart();
io.run(); io.run();
EXPECT(actual == lwsf::internal::http::error::timeout); EXPECT(actual == boost::system::error_code{boost::asio::error::operation_aborted});
} }
SECTION("response timeout") SECTION("response timeout")
@@ -226,7 +226,7 @@ LWS_CASE("net::http")
io.restart(); io.restart();
io.run(); io.run();
EXPECT(actual == lwsf::internal::http::error::timeout); EXPECT(actual == boost::system::error_code{boost::asio::error::operation_aborted});
} }
} // SETUP } // SETUP
} }