test: add case signal-handler-throws

This commit is contained in:
Tom 2020-08-01 17:37:52 +02:00
parent 5e402f8dbf
commit b04f2a4697

View File

@ -378,3 +378,8 @@ TEST_CASE("looping-workers-with-exit-condition")
}
}
TEST_CASE("signal-handler-throws")
{
REQUIRE_THROWS_AS( sgnl::SignalHandler({-1}) , sgnl::SignalHandlerException );
}