From 6b82fb353ff515c61dd99e4c8a515be766c3841f Mon Sep 17 00:00:00 2001 From: Fernando Rojo Date: Wed, 23 Oct 2024 21:30:55 -0700 Subject: [PATCH] Fix test build --- .../PnpmParsingUtilitiesTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/PnpmParsingUtilitiesTest.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/PnpmParsingUtilitiesTest.cs index 2d2f0ac6..6f87db27 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/PnpmParsingUtilitiesTest.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/PnpmParsingUtilitiesTest.cs @@ -36,7 +36,7 @@ public void DeserializePnpmYamlFileV3() shrinkwrapMinorVersion: 7 shrinkwrapVersion: 3"; var pnpmParsingUtilities = PnpmParsingUtilitiesFactory.Create(); - var version = pnpmParsingUtilities.DeserializePnpmYamlFileVersion(yamlFile); + var version = PnpmParsingUtilitiesFactory.DeserializePnpmYamlFileVersion(yamlFile); version.Should().BeNull(); // Versions older than 5 report null as they don't use the same version field. var parsedYaml = pnpmParsingUtilities.DeserializePnpmYamlFile(yamlFile);