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 authored and GitHub committed 2023-01-19 07:01:34 -05:00
1 parent 7992b14896
commit 51607ec752
2 files changed
+14 -14

No files matched your search

+1 -1
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) {