Got logging and errors basically all working the way I want
This commit is contained in:
@@ -35,5 +35,5 @@ const ErrorCodeMap TestError::ErrorMessages{
|
||||
|
||||
TEST(ErrorTest, Test) {
|
||||
auto err = TestError(0, TestError(1, TestError(2, TestError(3, TestError(2)))));
|
||||
ASSERT_STREQ(err.what(), "Hey!\n Trace: How\n Trace: You\n Trace: Doin\n Trace: You\n");
|
||||
ASSERT_STREQ(err.what().c_str(), "Hey!\n Trace: How\n Trace: You\n Trace: Doin\n Trace: You");
|
||||
}
|
||||
Reference in New Issue
Block a user