File tree 1 file changed +10
-1
lines changed
PSCompatibilityAnalyzer/Tests
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,16 @@ namespace PSScriptAnalyzerTests
21
21
22
22
$typeQueryObject = New-Object ' Microsoft.PowerShell.CrossCompatibility.Query.TypeData' (' QueryApiTestObject' , $typeData )
23
23
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
+
24
30
$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
26
35
}
27
36
}
You can’t perform that action at this time.
0 commit comments