Skip to content

Commit

Permalink
Fix C6216 on PackageDeploymentManagerTests_IsPackageRegistrationPendi…
Browse files Browse the repository at this point in the history
…ng.cpp (#4527)
  • Loading branch information
kythant authored Jun 29, 2024
1 parent 121b435 commit 6672413
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ namespace Test::PackageManager::Tests
const winrt::hstring packageFullName{ ::TPM::Black::GetPackageFullName() };
VERIFY_IS_TRUE(packageDeploymentManager.IsPackageRegistrationPending(packageFullName));

VERIFY_SUCCEEDED(LOG_IF_WIN32_BOOL_FALSE(::SetEvent(endOfTheLine.get())));
VERIFY_IS_TRUE(LOG_IF_WIN32_BOOL_FALSE(::SetEvent(endOfTheLine.get())));
}

TEST_METHOD(IsPackageRegistrationPendingForUser_NoSuchPackage)
Expand Down Expand Up @@ -157,7 +157,7 @@ namespace Test::PackageManager::Tests
const winrt::hstring packageFullName{ ::TPM::Black::GetPackageFullName() };
VERIFY_IS_TRUE(packageDeploymentManager.IsPackageRegistrationPendingForUser(winrt::hstring{}, packageFullName));

VERIFY_SUCCEEDED(LOG_IF_WIN32_BOOL_FALSE(::SetEvent(endOfTheLine.get())));
VERIFY_IS_TRUE(LOG_IF_WIN32_BOOL_FALSE(::SetEvent(endOfTheLine.get())));
}
};
}

0 comments on commit 6672413

Please sign in to comment.