mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Merge pull request #1009 from PowerShell/jimtru-psversion2
update PSVersionTable code to use powershell.version rather than .version…
This commit is contained in:
commit
51d5491c54
6 files changed
+12
-5
No files matched your search
@@ -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 =
|
||||
|
||||
Reference in new issue
Block a user