diff --git a/PSCompatibilityCollector/Tests/UtilityApi.Tests.ps1 b/PSCompatibilityCollector/Tests/UtilityApi.Tests.ps1 index c6841eea6..4183a8b35 100644 --- a/PSCompatibilityCollector/Tests/UtilityApi.Tests.ps1 +++ b/PSCompatibilityCollector/Tests/UtilityApi.Tests.ps1 @@ -101,7 +101,6 @@ Describe "PowerShell version object" { Context "Version parsing" { BeforeAll { $genericVerCases = @( - @{ VerStr = '6'; Major = 6; Minor = -1; Patch = -1 } @{ VerStr = '6.1'; Major = 6; Minor = 1; Patch = -1 } @{ VerStr = '5.2.7'; Major = 5; Minor = 2; Patch = 7 } @{ VerStr = '512.2124.71'; Major = 512; Minor = 2124; Patch = 71 } @@ -134,7 +133,7 @@ Describe "PowerShell version object" { ) } - It "Parses version string '' as .." -TestCases $semVerCases { + It "Parses version string '' as .." -TestCases $genericVerCases { param([string]$VerStr, [int]$Major, [int]$Minor, [int]$Patch) $v = [Microsoft.PowerShell.CrossCompatibility.PowerShellVersion]$VerStr