1
0
mirror of synced 2025-04-20 11:47:43 +03:00

Fix a test, ConnectionErrorTest::InvalidPort. currently, the abcde.com is valid, so I change it. The first byte doesn't permit a hyphen.

This commit is contained in:
Shunsuke Mie 2019-10-03 21:49:11 +09:00
parent a99e02aeb3
commit 5f49c13f95

View File

@ -335,7 +335,7 @@ TEST(RangeTest, FromHTTPBin) {
}
TEST(ConnectionErrorTest, InvalidHost) {
auto host = "abcde.com";
auto host = "-abcde.com";
auto sec = 2;
#ifdef CPPHTTPLIB_OPENSSL_SUPPORT