Skip to content

Use -BeExactly and -HaveCount instead of -Be in TabCompletion.Tests.ps1. - #7380

Merged
Ilya (iSazonov) merged 1 commit into
PowerShell:masterfrom
sethvs:tabCompletionTests
Jul 30, 2018
Merged

Use -BeExactly and -HaveCount instead of -Be in TabCompletion.Tests.ps1.#7380
Ilya (iSazonov) merged 1 commit into
PowerShell:masterfrom
sethvs:tabCompletionTests

Conversation

@sethvs

Copy link
Copy Markdown
Contributor

PR Summary

Use -BeExactly and -HaveCount instead of -Be in TabCompletion.Tests.ps1.

PR Checklist

@sethvs

Copy link
Copy Markdown
Contributor Author

Should we also change

$res.CompletionMatches.Count | Should -BeGreaterThan 0

to

$res.CompletionMatches | Should -Not -HaveCount 0

or leave it as is?

@anmenaga Andrew (anmenaga) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think 'leave it as is'.

@iSazonov Ilya (iSazonov) self-assigned this Jul 30, 2018
@iSazonov
Ilya (iSazonov) merged commit da6d264 into PowerShell:master Jul 30, 2018
@sethvs
Sergey Vasin (sethvs) deleted the tabCompletionTests branch September 27, 2018 11:20
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
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