Skip to content

Remove hard coded expected version string - #5556

Closed
Dan Travison (dantraMSFT) wants to merge 1 commit into
PowerShell:masterfrom
dantraMSFT:dantra/versionfailure
Closed

Dan Travison (dantraMSFT) wants to merge 1 commit into
PowerShell:masterfrom
dantraMSFT:dantra/versionfailure

Conversation

@dantraMSFT

Copy link
Copy Markdown
Contributor

PSSessionConfiguration.Tests.ps1 contains tests that compare Session.PSVersion to a hard coded version string. These tests break when the next release version doesn't match the string.

Update the test to rely on PSVersionTable.PSVersion instead of the hard code value.

@markekraus

Copy link
Copy Markdown
Contributor

This PR duplicates what is being done in #5554

@dantraMSFT
Dan Travison (dantraMSFT) deleted the dantra/versionfailure branch January 3, 2018 23:12
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