Skip to content

Commit

Permalink
Fix incorrect discovery on include
Browse files Browse the repository at this point in the history
  • Loading branch information
Gijsreyn committed Dec 7, 2024
1 parent ee03947 commit ced2421
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Describe 'PowerShell adapter resource tests' {
$r = dsc resource list '*' -a Microsoft.DSC/PowerShell
$LASTEXITCODE | Should -Be 0
$resources = $r | ConvertFrom-Json
($resources | ? {$_.Type -eq 'TestClassResource/TestClassResource' -and $_.Type -eq 'TestClassNoVersion/TestClassNoVersion'}).Count | Should -Be 2
($resources | ? {$_.Type -in @('TestClassResource/TestClassResource', 'TestClassNoVersion/TestClassNoVersion')}).Count | Should -Be 2
}

It 'Get works on class-based resource' {
Expand Down

0 comments on commit ced2421

Please sign in to comment.