Skip to content

Conversation

@daxian-dbw
Copy link
Member

Three implicit remoting tests failed in daily test runs. They reflect regressions introduced in #4261, and this PR is to fix them.

The original test for those 3 are checking -ne $null | Should Be $true:

## BadVerb-Variable should be a function, not an alias (1)
((Get-Item Function:\BadVerb-Variable -ErrorAction SilentlyContinue) -ne $null) | Should Be $true
...
## BadVerb-Variable should be a function, not an alias (1)
((Get-Item Function:\BadVerb-Variable -ErrorAction SilentlyContinue) -ne $null) | Should Be $true
...
## BadVerb-Variable should be an alias, not a function (2)
((Get-Item Alias:\BadVerb-Variable -ErrorAction SilentlyContinue) -ne $null) | Should Be $true

So we should change them to | Should Not Be $null.

@daxian-dbw
Copy link
Member Author

The failure in AppVeyor will be resolved by #4323

Copy link
Collaborator

@iSazonov iSazonov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@daxian-dbw daxian-dbw merged commit 905e697 into PowerShell:master Jul 24, 2017
@daxian-dbw daxian-dbw deleted the test branch July 24, 2017 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants