mirror of
https://github.com/wownero/lwsf-wow.git
synced 2026-10-17 07:21:28 +02:00
Fix unit tests
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user