add functionality to PSVersionTable to include GitCommitID and update tests

This commit is contained in:
Jim Truher (MSFT) committed 2016-05-18 15:35:09 -07:00
1 parent e0149a10e4
commit cfd5bded5b
4 files changed
+19 -2

No files matched your search

+2 -1
View File
@@ -1,6 +1,6 @@
Describe "PSVersionTable" {
It "Should have version table entries" {
$PSVersionTable.Count | Should Be 8
$PSVersionTable.Count | Should Be 9
}
It "Should have the right version table entries" {
@@ -12,6 +12,7 @@ Describe "PSVersionTable" {
$PSVersionTable.ContainsKey("BuildVersion") | Should Be True
$PSVersionTable.ContainsKey("PSCompatibleVersions") | Should Be True
$PSVersionTable.ContainsKey("PSRemotingProtocolVersion") | Should Be True
$PSVersionTable.ContainsKey("GitCommitId") | Should Be True
}