mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Skip CIM ETS member test on older Windows platforms (#24681)
This commit is contained in:
@@ -672,7 +672,7 @@ ConstructorTestClass(int i, bool b)
|
||||
$res.CompletionMatches[0].CompletionText | Should -BeExactly Cat
|
||||
}
|
||||
|
||||
It 'Should complete cim ETS member added by shortname' -Skip:(!$IsWindows) {
|
||||
It 'Should complete cim ETS member added by shortname' -Skip:(!$IsWindows -or (Test-IsWinServer2012R2) -or (Test-IsWindows2016)) {
|
||||
$res = TabExpansion2 -inputScript '(Get-NetFirewallRule).Nam'
|
||||
$res.CompletionMatches[0].CompletionText | Should -BeExactly 'Name'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user