File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
PSCompatibilityAnalyzer/Tests Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,16 @@ namespace PSScriptAnalyzerTests
2121
2222 $typeQueryObject = New-Object ' Microsoft.PowerShell.CrossCompatibility.Query.TypeData' (' QueryApiTestObject' , $typeData )
2323
24+ $typeData.Instance.Properties.Count | Should - Be 2
25+
26+ $typeData.Instance.Properties.ContainsKey (' JobId' ) | Should - BeTrue
27+ $typeData.Instance.Properties.ContainsKey (' JOBID' ) | Should - BeTrue
28+ $typeData.Instance.Properties.ContainsKey (' jobid' ) | Should -Not - BeTrue
29+
2430 $typeQueryObject.Instance.Properties.Count | Should - Be 1
25- $typeQueryObject.Instance.Properties.Keys | Should - Contain ' jobid'
31+
32+ $typeQueryObject.Instance.Properties.ContainsKey (' JobId' ) | Should - BeTrue
33+ $typeQueryObject.Instance.Properties.ContainsKey (' JobID' ) | Should - BeTrue
34+ $typeQueryObject.Instance.Properties.ContainsKey (' jobid' ) | Should - BeTrue
2635 }
2736}
You can’t perform that action at this time.
0 commit comments