Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Marissa696 committed May 30, 2024
1 parent b7f5b56 commit 51cfcd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ TEST(TimedDoorTest, NoThrowStateWhenTimeoutNotReachedWhileOpen) {
TimedDoor door(5);
door.unlock();
std::this_thread::sleep_for(std::chrono::milliseconds(100));
EXPECT_THROW(door.throwState());
EXPECT_ANY_THROW(door.throwState());
}

TEST(TimedDoorTest, ThrowStateWhenTimeoutReachedWhileClosed) {
Expand Down

0 comments on commit 51cfcd4

Please sign in to comment.