8000 [Feature]Fix regressions that cause implicit remoting tests to fail (… · PowerShell/PowerShell@905e697 · GitHub
[go: up one dir, main page]

Skip to content

Commit 905e697

Browse files
authored
[Feature]Fix regressions that cause implicit remoting tests to fail (#4326)
1 parent 76e184b commit 905e697

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/powershell/Modules/Microsoft.PowerShell.Utility/Implicit.Remoting.Tests.ps1

+3-3
Original file line numberDiff line numberDiff line change
@@ -1782,7 +1782,7 @@ Describe "Implicit remoting tests" -tags "Feature" {
17821782
Get-Item Function:\Get-Variable -ErrorAction SilentlyContinue | Should Be $null
17831783

17841784
## BadVerb-Variable should be a function, not an alias (1)
1785-
Get-Item Function:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Be $null
1785+
Get-Item Function:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Not Be $null
17861786

17871787
## BadVerb-Variable should be a function, not an alias (2)
17881788
Get-Item Alias:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Be $null
@@ -1822,7 +1822,7 @@ Describe "Implicit remoting tests" -tags "Feature" {
18221822
Get-Item Function:\Get-Variable -ErrorAction SilentlyContinue | Should Be $null
18231823

18241824
## BadVerb-Variable should be a function, not an alias (1)
1825-
Get-Item Function:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Be $null
1825+
Get-Item Function:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Not Be $null
18261826

18271827
## BadVerb-Variable should be a function, not an alias (2)
18281828
Get-Item Alias:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Be $null
@@ -1873,7 +1873,7 @@ Describe "Implicit remoting tests" -tags "Feature" {
18731873
Get-Item Function:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Be $null
18741874

18751875
## BadVerb-Variable should be an alias, not a function (2)
1876-
Get-Item Alias:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Be $null
1876+
Get-Item Alias:\BadVerb-Variable -ErrorAction SilentlyContinue | Should Not Be $null
18771877

18781878
(BadVerb-Variable -Name pid).Value | Should Be $remotePid
18791879
} finally {

0 commit comments

Comments
 (0)
0