Skip to content

Commit b49b4da

Browse files
committed
fix test missing closing parenthesis
1 parent 35eac22 commit b49b4da

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/FindPSResourceTests/FindPSResourceContainerRegistryServer.Tests.ps1

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,11 @@ Describe 'Test Find-PSResource for MAR Repository' -tags 'CI' {
285285
$res.Dependencies[0].Name | Should -Be "Az.Accounts"
286286
}
287287

288+
It "Should find Azpreview resource and it's dependency given specific Name and Version" {
289+
$res = Find-PSResource -Name "Azpreview" -Version "13.2.0" -Repository "MAR"
290+
$res.Dependencies.Length | Should -Not -Be 0
291+
}
292+
288293
It "Should find resource with wildcard in Name" {
289294
$res = Find-PSResource -Name "Az.App*" -Repository "MAR"
290295
$res | Should -Not -BeNullOrEmpty
@@ -295,9 +300,6 @@ Describe 'Test Find-PSResource for MAR Repository' -tags 'CI' {
295300
$res = Find-PSResource -Name "*" -Repository "MAR"
296301
$res | Should -Not -BeNullOrEmpty
297302
$res.Count | Should -BeGreaterThan 1
298-
It "Should find Azpreview resource and it's dependency given specific Name and Version" {
299-
$res = Find-PSResource -Name "Azpreview" -Version "13.2.0" -Repository "MAR"
300-
$res.Dependencies.Length | Should -Not -Be 0
301303
}
302304
}
303305

0 commit comments

Comments
 (0)