Skip to content

Commit

Permalink
Fix a test, ConnectionErrorTest::InvalidPort. currently, the abcde.co…
Browse files Browse the repository at this point in the history
…m is valid, so I change it. The first byte doesn't permit a hyphen.
  • Loading branch information
sux2mfgj committed Oct 3, 2019
1 parent a99e02a commit 5f49c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f49c13

Please sign in to comment.