I've seen this problem in Google Test (https://github.com/google/googletest/issues/952), which doesn't provide a function for this. Some users have "solve" it by adding custom macros, like EXPECT_THROW_WITH_MESSAGE (can be seen in the same issue). Maybe something like that could be added to utest.h.
I've seen this problem in Google Test (https://github.com/google/googletest/issues/952), which doesn't provide a function for this. Some users have "solve" it by adding custom macros, like
EXPECT_THROW_WITH_MESSAGE
(can be seen in the same issue). Maybe something like that could be added toutest.h
.