mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Use correct casing for cmdlet name and cmdlet parameter name in *.ps1 files (#12584)
This commit is contained in:
@@ -13,7 +13,7 @@ Describe "Windows Installer" -Tags "Scenario" {
|
||||
)
|
||||
}
|
||||
|
||||
It "WiX (Windows Installer XML) file contains pre-requisites link $preRequisitesLink" -skip:$skipTest {
|
||||
It "WiX (Windows Installer XML) file contains pre-requisites link $preRequisitesLink" -Skip:$skipTest {
|
||||
$wixProductFile = Join-Path -Path $PSScriptRoot -ChildPath "..\..\..\assets\Product.wxs"
|
||||
(Get-Content $wixProductFile -Raw).Contains($preRequisitesLink) | Should -BeTrue
|
||||
}
|
||||
@@ -21,7 +21,7 @@ Describe "Windows Installer" -Tags "Scenario" {
|
||||
## Running 'Invoke-WebRequest' with WMF download URLs has been failing intermittently,
|
||||
## because sometimes the URLs lead to a 'this download is no longer available' page.
|
||||
## We use a retry logic here. Retry for 5 times with 1 second interval.
|
||||
It "Pre-Requisistes link for '<Name>' is reachable: <url>" -TestCases $linkCheckTestCases -skip:$skipTest {
|
||||
It "Pre-Requisistes link for '<Name>' is reachable: <url>" -TestCases $linkCheckTestCases -Skip:$skipTest {
|
||||
param ($Url)
|
||||
|
||||
foreach ($i in 1..5) {
|
||||
|
||||
Reference in New Issue
Block a user