Skip to content

Commit 0166791

Browse files
committed
updated CI 16
1 parent ae79ea1 commit 0166791

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Compress-Archive.Tests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ BeforeDiscovery {
5858
}
5959

6060
It "Validate errors from Compress-Archive when invalid path is supplied for Path or LiteralPath parameters" -ForEach @(
61-
@{ Path = "Env:/PWD" }
62-
@{ Path = @("TestDrive:/", "Env:/PWD") }
61+
@{ Path = "Variable:/PWD" }
62+
@{ Path = @("TestDrive:/", "Variable:/PWD") }
6363
) -Tag this1 {
6464
$DestinationPath = "TestDrive:/archive2.zip"
6565

6666
Write-Verbose -Message "${PWD}" -Verbose
6767

68-
Get-ChildItem "Env:/" | Write-Verbose -Verbose
68+
Get-ChildItem "Variable:/" | Write-Verbose -Verbose
6969

7070
Compress-Archive -Path $Path -DestinationPath $DestinationPath -ErrorAction SilentlyContinue -ErrorVariable error
7171
$error.Count | Should -Be 1

0 commit comments

Comments
 (0)