test: add case signal-handler-throws
This commit is contained in:
parent
5e402f8dbf
commit
b04f2a4697
@ -378,3 +378,8 @@ TEST_CASE("looping-workers-with-exit-condition")
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("signal-handler-throws")
|
||||
{
|
||||
REQUIRE_THROWS_AS( sgnl::SignalHandler({-1}) , sgnl::SignalHandlerException );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user