Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Remove hard coded expected version string#5556

Closed
dantraMSFT wants to merge 1 commit into
PowerShell:masterPowerShell/PowerShell:masterfrom
dantraMSFT:dantra/versionfailureCopy head branch name to clipboard
Closed

Remove hard coded expected version string#5556
dantraMSFT wants to merge 1 commit into
PowerShell:masterPowerShell/PowerShell:masterfrom
dantraMSFT:dantra/versionfailureCopy head branch name to clipboard

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 dantraMSFT closed this Nov 27, 2017
@dantraMSFT 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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.