Merge pull request !39757 from gxjhl/0806tdd
This commit is contained in:
openharmony_ci 2024-08-06 13:02:01 +00:00 committed by Gitee
commit ea1b33bc8b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -957,7 +957,7 @@ HWTEST_F(WaterFlowSWTest, NotifyDataChange002, TestSize.Level1)
EXPECT_EQ(info_->startIndex_, 13);
newSections = { WaterFlowSections::Section { .itemsCount = 2, .crossCount = 5 } };
secObj->ChangeData(5, 1, newSections);
secObj->ChangeData(4, 1, newSections);
EXPECT_EQ(info_->newStartIndex_, -2);
FlushLayoutTask(frameNode_);