mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 09:18:27 +00: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:
parent
a99e02aeb3
commit
5f49c13f95
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue