Skip to content

Commit

Permalink
(test) Add missing - to Exist parameter
Browse files Browse the repository at this point in the history
This was missed in the previous commit, and only noticed when the test
failed in TeamCity.
  • Loading branch information
gep13 committed May 11, 2023
1 parent 2f550d2 commit 29a0163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/chocolatey-tests/commands/choco-upgrade.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ To upgrade a local, or remote file, you may use:
}

It "Did not create backup of file 'hasinnoinstaller.nupkg' in lib-bad" -Tag FossOnly {
"$env:ChocolateyInstall\lib-bad\$PackageUnderTest\$PackageVersion\hasinnoinstaller.nupkg" | Should -Not Exist
"$env:ChocolateyInstall\lib-bad\$PackageUnderTest\$PackageVersion\hasinnoinstaller.nupkg" | Should -Not -Exist
}

It "Outputs a message showing that installation failed." {
Expand Down

0 comments on commit 29a0163

Please sign in to comment.