Skip to content

Commit c43c9c5

Browse files
committed
Code optimization
1 parent 6e07286 commit c43c9c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Setup.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Describe "Setup" {
1919
It "should properly download and extract Apache Ant" {
2020
$path = [Setup]::new($latestRelease).Download($true)
2121
Join-Path $path "bin/$($IsWindows ? "ant.cmd" : "ant")" | Should -Exist
22-
$jars = Get-ChildItem (Join-Path $path "lib/*.jar")
22+
$jars = Get-Item (Join-Path $path "lib/*.jar")
2323
$jars.Where{ $_.BaseName.StartsWith("ivy-") } | Should -HaveCount 1
2424
}
2525
}

0 commit comments

Comments
 (0)