Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanbergstrom committed Mar 16, 2024
1 parent dfb0be6 commit 5de54ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/AnyPackage.Homebrew.Unit.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ Describe "multi-source support" {
$altSourceLocation = 'https://github.com/pyroscope-io/homebrew-brew'
$package = 'pyroscope'

Unregister-PackageSource -Name $altSourceName -ErrorAction SilentlyContinue
Unregister-PackageSource -Name $altSource -ErrorAction SilentlyContinue
}
AfterAll {
Unregister-PackageSource -Name $altSourceName -ErrorAction SilentlyContinue
Unregister-PackageSource -Name $altSource -ErrorAction SilentlyContinue
}

It 'refuses to find packages when the specified source does not exist' {
Expand Down

0 comments on commit 5de54ee

Please sign in to comment.