syntax notation

This commit is contained in:
Leonid Lapshin
2020-09-07 10:27:55 +03:00
parent e438bd4302
commit 2e6ca0ca56
5 changed files with 12 additions and 12 deletions

View File

@@ -9,12 +9,12 @@ Describe "SSDTExtensions" {
)
It "Extensions id=<id>" -TestCases $testExtenions {
$version = Get-VSExtensionVersion -packageName "${id}"
$version = Get-VSExtensionVersion -PackageName "${id}"
$version | Should -Not -BeNullOrEmpty
}
} else {
It "Extension SSDT" {
$version = Get-VSExtensionVersion -packageName "SSDT"
$version = Get-VSExtensionVersion -PackageName "SSDT"
$version | Should -Not -BeNullOrEmpty
}
}

View File

@@ -5,7 +5,7 @@ Describe "WDK" {
}
It "WDK version from system" {
$version = Get-VSExtensionVersion -packageName "Microsoft.Windows.DriverKit"
$version = Get-VSExtensionVersion -PackageName "Microsoft.Windows.DriverKit"
$version | Should -Not -BeNullOrEmpty
}
}

View File

@@ -12,11 +12,11 @@ Describe "Wix" {
It "Wix Toolset version from system" {
if (Test-IsWin19)
{
$exVersion = Get-VSExtensionVersion -packageName "WixToolset.VisualStudioExtension.Dev16"
$exVersion = Get-VSExtensionVersion -PackageName "WixToolset.VisualStudioExtension.Dev16"
}
else
{
$exVersion = Get-VSExtensionVersion -packageName "WixToolset.VisualStudioExtension.Dev15"
$exVersion = Get-VSExtensionVersion -PackageName "WixToolset.VisualStudioExtension.Dev15"
}
$exVersion | Should -Not -BeNullOrEmpty
}