update services/distributeddataservice/service/test/object_asset_loader_test.cpp.

Signed-off-by: 郭琦11 <guoqi53@huawei.com>
This commit is contained in:
郭琦11 2024-08-22 02:31:28 +00:00 committed by Gitee
parent 7fb23a8d2a
commit 0766a1a3e1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -191,7 +191,7 @@ HWTEST_F(ObjectAssetLoaderTest, UpdateDownloaded002, TestSize.Level0)
{
auto assetLoader = ObjectAssetLoader::GetInstance();
ASSERT_NE(assetLoader, nullptr);
while(!assetLoader->assetQueue_.empty()) {
while (!assetLoader->assetQueue_.empty()) {
assetLoader->assetQueue_.pop();
}
for (int i = 0; i <= assetLoader->LAST_DOWNLOAD_ASSET_SIZE; i++) {