Change "operable" to "executable" (#13281)

* Change "operable" to "executable" in a resource string
This commit is contained in:
Christopher Yeleighton
2020-08-06 13:02:43 +05:00
committed by GitHub
parent bedd3bc287
commit 8626937ac4
3 changed files with 4 additions and 4 deletions
@@ -502,7 +502,7 @@ Describe "Additional tests for Import-Module with WinCompat" -Tag "Feature" {
$ConfigPath = Join-Path $TestDrive 'powershell.config.json'
'{"DisableImplicitWinCompat" : "True","Microsoft.PowerShell:ExecutionPolicy": "RemoteSigned"}' | Out-File -Force $ConfigPath
& $pwsh -NoProfile -NonInteractive -settingsFile $ConfigPath -c "[System.Management.Automation.Internal.InternalTestHooks]::SetTestHook('TestWindowsPowerShellPSHomeLocation', `'$basePath`'); Test-$ModuleName2" *> $LogPath
$LogPath | Should -FileContentMatch 'not recognized as the name of a cmdlet'
$LogPath | Should -FileContentMatch 'not recognized as a name of a cmdlet'
}
It "Successfully auto-imports incompatible module during CommandDiscovery\ModuleAutoload if implicit WinCompat is Enabled in config" {