mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-10 09:43:51 +00:00
test: add missing _Online suffixes (#1110)
This commit is contained in:
parent
f9074684dd
commit
824e7682e4
@ -746,7 +746,7 @@ TEST(DigestAuthTest, FromHTTPWatch_Online) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
TEST(SpecifyServerIPAddressTest, AnotherHostname) {
|
TEST(SpecifyServerIPAddressTest, AnotherHostname_Online) {
|
||||||
auto host = "google.com";
|
auto host = "google.com";
|
||||||
auto another_host = "example.com";
|
auto another_host = "example.com";
|
||||||
auto wrong_ip = "0.0.0.0";
|
auto wrong_ip = "0.0.0.0";
|
||||||
@ -763,7 +763,7 @@ TEST(SpecifyServerIPAddressTest, AnotherHostname) {
|
|||||||
ASSERT_EQ(301, res->status);
|
ASSERT_EQ(301, res->status);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(SpecifyServerIPAddressTest, RealHostname) {
|
TEST(SpecifyServerIPAddressTest, RealHostname_Online) {
|
||||||
auto host = "google.com";
|
auto host = "google.com";
|
||||||
auto wrong_ip = "0.0.0.0";
|
auto wrong_ip = "0.0.0.0";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user