1
0
mirror of synced 2025-07-27 23:41:48 +03:00

add to_human_string (#1467)

* add to_human_string

* replace to_string with to_human_string

* fix test
This commit is contained in:
Ray Beck
2023-01-19 07:01:34 -05:00
committed by GitHub
parent 7992b14896
commit 51607ec752
2 changed files with 14 additions and 14 deletions

View File

@ -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) {