Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yao-msft committed Sep 30, 2024
1 parent 358d056 commit c3bb68f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AppInstallerCLITests/MsixInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ TEST_CASE("MsixInfo_ValidateMsixTrustInfo", "[msixinfo]")
TEST_CASE("MsixInfo_GetPackageIdInfoFromFullName", "[msixinfo]")
{
auto testPackageIdInfo = Msix::GetPackageIdInfoFromFullName("Microsoft.NET.Native.Framework.2.2_2.2.29512.0_arm64__8wekyb3d8bbwe");
REQUIRE(testPackageIdInfo.Name == "Microsoft.NET.Native.Framework");
REQUIRE(testPackageIdInfo.Name == "Microsoft.NET.Native.Framework.2.2");
REQUIRE(testPackageIdInfo.Version == Utility::UInt64Version{ "2.2.29512.0" });

auto testPackageIdInfo2 = Msix::GetPackageIdInfoFromFullName("Microsoft.NET.Native.Framework.2.2_2.2.29512.0_arm64__8wekyb3d8bbwe");
auto testPackageIdInfo2 = Msix::GetPackageIdInfoFromFullName("Microsoft.DoesNotExist_1.2.3.4_neutral_~_8wekyb3d8bbwe");
REQUIRE(testPackageIdInfo2.Name == "Microsoft.DoesNotExist");
REQUIRE(testPackageIdInfo2.Version == Utility::UInt64Version{ "1.2.3.4" });
}

0 comments on commit c3bb68f

Please sign in to comment.