Skip to content

Commit 2a73419

Browse files
author
Robert Holt
committed
Fix tests
1 parent 267f6e2 commit 2a73419

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PSCompatibilityAnalyzer/Tests/QueryApi.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace PSScriptAnalyzerTests
2121

2222
$typeQueryObject = New-Object 'Microsoft.PowerShell.CrossCompatibility.Query.TypeData' ('QueryApiTestObject', $typeData)
2323

24-
$typeData.Instance.Properties.Count | Should -Be 1
25-
$typeData.Instance.Properties.Keys | Should -Contain 'jobid'
24+
$typeQueryObject.Instance.Properties.Count | Should -Be 1
25+
$typeQueryObject.Instance.Properties.Keys | Should -Contain 'jobid'
2626
}
2727
}

0 commit comments

Comments
 (0)