Merge pull request #1009 from PowerShell/jimtru-psversion2

update PSVersionTable code to use powershell.version rather than .version…
This commit is contained in:
James Truher [MSFT] committed 2016-05-19 15:20:16 -07:00
commit 51d5491c54
6 files changed
+12 -5

No files matched your search

+3
View File
@@ -15,6 +15,9 @@ Describe "PSVersionTable" {
$PSVersionTable.ContainsKey("GitCommitId") | Should Be True
}
It "GitCommitId property should not contain an error" {
$PSVersionTable.GitCommitId | Should not match "powershell.version"
}
It "Should have the correct edition" -Skip:(!$IsCore) {
$expected =