tddbugfix

Signed-off-by: liuhonglin9 <liuhonglin9@huawei.com>
Change-Id: Iec2c10c4e32e9ce8e5fa38f9220d20c3d85fe805
This commit is contained in:
liuhonglin9 2023-11-14 05:40:38 +00:00
parent 165da1222f
commit e7ce5a2e76

View File

@ -5763,8 +5763,8 @@ HWTEST_F(FileExtensionHelperTest, external_file_access_Move_item_0012, testing::
result = g_fah->MoveItem(newDirUriTest1, newDirUriTest2, moveResult, false);
EXPECT_EQ(result, -2);
EXPECT_EQ(moveResult[0].errCode, OHOS::FileAccessFwk::ERR_EXIST);
EXPECT_EQ(moveResult[1].errCode, OHOS::FileAccessFwk::ERR_IS_DIR);
EXPECT_EQ(moveResult[0].errCode, OHOS::FileAccessFwk::ERR_IS_DIR);
EXPECT_EQ(moveResult[1].errCode, OHOS::FileAccessFwk::ERR_EXIST);
result = g_fah->Delete(newDirUriTest1);
EXPECT_EQ(result, OHOS::FileAccessFwk::ERR_OK);
result = g_fah->Delete(newDirUriTest2);