update PSVersionTable code to use powershell.version rather than .version because on Linux the .version file doesn't seem to be binplaced. I postulate this is because it's a hidden file

This commit is contained in:
James Truher committed 2016-05-19 13:19:16 -07:00
1 parent 99402343fc
commit 8583cf5e96
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 =