Skip to content

Commit bd4155c

Browse files
committed
Update test for VcRedist 14 output format
Changed the expected output in the Get-VcList test to match the new naming convention for Visual C++ v14 Redistributable, supporting Arm64, x64, and x86 architectures.
1 parent 3171c0c commit bd4155c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Public/Get-VcList.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Describe -Name "Validate Get-VcList for <VcRedist.Name>" -ForEach $SupportedVcRe
6969
Describe -Name "Get-VcRedist parameters" {
7070
Context "Test Get-VcRedist parameters" {
7171
It "Returns the expected output for VcRedist 14" {
72-
(Get-VcList -Release "14")[0].Name | Should -BeExactly "Visual C++ Redistributable for Visual Studio 14"
72+
(Get-VcList -Release "14")[0].Name | Should -BeLikeExactly "Microsoft Visual C++ v14 Redistributable \((Arm64|x64|x86)\)"
7373
}
7474

7575
It "Returns 1 item for x64" {

0 commit comments

Comments
 (0)