code coverage

This commit is contained in:
Michele Caini 2022-04-07 18:00:04 +02:00
parent d6c368cec2
commit e47889c96b

View File

@ -88,6 +88,15 @@ TEST(Timer, Again) {
ASSERT_FALSE(checkErrorEvent);
ASSERT_TRUE(checkTimerEvent);
handle->close();
ASSERT_FALSE(handle->active());
ASSERT_TRUE(handle->closing());
handle->start(uvw::timer_handle::time{0}, uvw::timer_handle::time{1});
ASSERT_TRUE(checkErrorEvent);
}
TEST(Timer, Repeat) {