Verifying exception messages with GoogleTest
Is it possible to verify the message thrown by an exception? Currently one
can do:
ASSERT_THROW(statement, exception_type)
which is all fine and good but no where can I find a way to test e.what()
is really what I am looking for. Is this not possible via google test?
No comments:
Post a Comment