1
0
mirror of synced 2025-04-21 22:25:55 +03:00

Merge pull request #232 from sux2mfgj/fix_the_invalidhost_test

Fix a test, ConnectionErrorTest::InvalidPort.
This commit is contained in:
yhirose 2019-10-03 13:43:48 -04:00 committed by GitHub
commit 89440ec322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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