We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c2f5d2 commit 4300c42Copy full SHA for 4300c42
test/error_tests.cpp
@@ -97,6 +97,12 @@ TEST(ErrorTests, StringReprTest) {
97
EXPECT_EQ(std::to_string(error.code), "UNSUPPORTED_PROTOCOL");
98
}
99
100
+TEST(ErrorTests, StringReprUnknownTest) {
101
+ Error error;
102
+ error.code = ErrorCode::UNKNOWN_ERROR;
103
+ EXPECT_EQ(std::to_string(error.code), "UNKNOWN_ERROR");
104
+}
105
+
106
107
int main(int argc, char** argv) {
108
::testing::InitGoogleTest(&argc, argv);
0 commit comments