diff --git a/window_scene/test/unittest/event_distribution/scene_input_manager_test.cpp b/window_scene/test/unittest/event_distribution/scene_input_manager_test.cpp index 1cf3c53dd0ceb8cfa2f13737133f249ea0773f53..84b5cc4ac963e2272efeae581fe7f435f161bca4 100644 --- a/window_scene/test/unittest/event_distribution/scene_input_manager_test.cpp +++ b/window_scene/test/unittest/event_distribution/scene_input_manager_test.cpp @@ -396,7 +396,7 @@ HWTEST_F(SceneInputManagerTest, FlushDisplayInfoToMMI, TestSize.Level0) SceneInputManager::GetInstance().FlushDisplayInfoToMMI(std::move(windowInfoList), std::move(pixelMapList), true); SceneInputManager::GetInstance().FlushDisplayInfoToMMI(std::move(windowInfoList), std::move(pixelMapList)); usleep(WAIT_SYNC_IN_NS); - EXPECT_TRUE(logMsg.find("sceneSessionDirty_ is nullptr") != std::string::npos); + EXPECT_FALSE(logMsg.find("sceneSessionDirty_ is nullptr") != std::string::npos); logMsg.clear(); auto preEventHandler = SceneInputManager::GetInstance().eventHandler_;