From d9c1887429a2a2108ddf29551b87608e8b49c69b Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Tue, 18 Jun 2024 12:24:55 -0400 Subject: [PATCH] tests: Fix LifeSpanTest.DoClose*WithOnUnloadForce failures --- tests/ceftests/life_span_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ceftests/life_span_unittest.cc b/tests/ceftests/life_span_unittest.cc index 81e18dcad..b7cbb5d1a 100644 --- a/tests/ceftests/life_span_unittest.cc +++ b/tests/ceftests/life_span_unittest.cc @@ -278,7 +278,7 @@ TEST(LifeSpanTest, DoCloseAllowWithOnUnloadForce) { EXPECT_TRUE(handler->got_after_created_); EXPECT_TRUE(handler->got_do_close_); EXPECT_TRUE(handler->got_before_close_); - EXPECT_FALSE(handler->got_before_unload_dialog_); + EXPECT_TRUE(handler->got_before_unload_dialog_); EXPECT_TRUE(handler->got_unload_message_); EXPECT_TRUE(handler->got_load_end_); EXPECT_FALSE(handler->got_delay_close_); @@ -297,7 +297,7 @@ TEST(LifeSpanTest, DoCloseDisallowWithOnUnloadForce) { EXPECT_TRUE(handler->got_after_created_); EXPECT_TRUE(handler->got_do_close_); EXPECT_FALSE(handler->got_before_close_); - EXPECT_FALSE(handler->got_before_unload_dialog_); + EXPECT_TRUE(handler->got_before_unload_dialog_); EXPECT_TRUE(handler->got_unload_message_); EXPECT_TRUE(handler->got_load_end_); EXPECT_TRUE(handler->got_delay_close_);