Commits

Matt Oswald  committed f8e36a4

std::exception doesn't have a public constructor that takes a char *

  • Participants
  • Parent commits f32e276
  • Tags 1.3.2

Comments (0)

Files changed (1)

File Tests/UnitTests/Assert.Throws.cpp

 
 FACT("Can catch std::exception")
 {
-    Assert.Throws<std::exception>([]() { throw std::exception("test"); });
+    Assert.Throws<std::exception>([]() { throw std::logic_error("test"); });
 }
 
 }