mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Change "operable" to "executable" (#13281)
* Change "operable" to "executable" in a resource string
This commit is contained in:
+1
-1
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user