Commits

Matt Oswald  committed fe4ef59

wanted to be a bit more explicit when a test failed due to an unexpected exception

  • Participants
  • Parent commits 741435f

Comments (0)

Files changed (1)

File xUnit++/src/TestEvent.cpp

 TestEvent::TestEvent(const std::exception &e)
     : level(EventLevel::Fatal)
     , assert(xUnitAssert::None())
-    , message(e.what())
+    , message(std::string("Uncaught std::exception: ") + e.what())
 {
 }