mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-31 00:47:56 +00:00
Addressed some warnings (mostly MSVC)
This commit is contained in:
parent
6ba2057abd
commit
2e3c5fa2ad
8 changed files with 26 additions and 3 deletions
|
@ -107,6 +107,9 @@ TEST_CASE_NORETURN( "./failing/exceptions/custom", "Unexpected custom exceptions
|
|||
{
|
||||
throw CustomException( "custom exception" );
|
||||
}
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4702) // unreachable code
|
||||
#endif
|
||||
|
||||
TEST_CASE( "./failing/exceptions/custom/nothrow", "Custom exceptions can be translated when testing for nothrow" )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue