diff --git a/test/test.cpp b/test/test.cpp index 9c80f3e..d358c57 100644 --- a/test/test.cpp +++ b/test/test.cpp @@ -378,3 +378,8 @@ TEST_CASE("looping-workers-with-exit-condition") } } +TEST_CASE("signal-handler-throws") +{ + REQUIRE_THROWS_AS( sgnl::SignalHandler({-1}) , sgnl::SignalHandlerException ); +} +