Skip to content

Commit

Permalink
Homebrew cant decide what kind of package a package is
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanbergstrom committed Mar 16, 2024
1 parent 5de54ee commit 2fc86f4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/AnyPackage.Homebrew.Unit.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ BeforeAll {
Describe 'basic package search operations' {
Context 'formula' {
BeforeAll {
$package = 'graphviz'
$package = 'libtiff'
$source = 'homebrew/core'
}
It 'searches for the latest version of a package' {
Expand All @@ -30,7 +30,7 @@ Describe 'basic package search operations' {
Describe 'DSC-compliant package installation and uninstallation' {
Context 'formula' {
BeforeAll {
$package = 'graphviz'
$package = 'libtiff'
$source = 'homebrew/core'
}

Expand Down Expand Up @@ -70,7 +70,7 @@ Describe 'DSC-compliant package installation and uninstallation' {
Describe 'pipeline-based package installation and uninstallation' {
Context 'formula' {
BeforeAll {
$package = 'graphviz'
$package = 'libtiff'
$source = 'homebrew/core'
}

Expand Down Expand Up @@ -99,9 +99,9 @@ Describe 'version tests' {
# Due to Homebrew's version support being very inconsisten between Cask and Formulae, only limited version filtering is supported, and tests are very fragile
Context 'formula' {
BeforeAll {
$package = 'graphviz'
$package = 'libtiff'
$source = 'homebrew/core'
$version = '9.0.0'
$version = '4.6.0'
}

It 'retrieves and correctly filters to a specific version' {
Expand Down

0 comments on commit 2fc86f4

Please sign in to comment.