mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-04-14 04:38:30 +00:00
add to_human_string (#1467)
* add to_human_string * replace to_string with to_human_string * fix test
This commit is contained in:
@@ -596,7 +596,7 @@ TEST(ConnectionErrorTest, InvalidHostCheckResultErrorToString) {
|
||||
ASSERT_TRUE(!res);
|
||||
stringstream s;
|
||||
s << "error code: " << res.error();
|
||||
EXPECT_EQ("error code: Connection (2)", s.str());
|
||||
EXPECT_EQ("error code: Could not establish connection (2)", s.str());
|
||||
}
|
||||
|
||||
TEST(ConnectionErrorTest, InvalidPort) {
|
||||
|
||||
Reference in New Issue
Block a user