Skip to content

Commit

Permalink
Bad version number
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanbergstrom committed Jan 29, 2024
1 parent b4d698a commit 904e2bb
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 @@ -9,7 +9,7 @@ BeforeAll {
Describe 'basic package search operations' {
Context 'formula' {
BeforeAll {
$package = 'tmux'
$package = 'graphviz'
$source = 'homebrew/core'
}
It 'searches for the latest version of a package' {
Expand All @@ -29,7 +29,7 @@ Describe 'basic package search operations' {
Describe 'DSC-compliant package installation and uninstallation' {
Context 'formula' {
BeforeAll {
$package = 'tmux'
$package = 'graphviz'
$source = 'homebrew/core'
}

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

Expand Down Expand Up @@ -98,9 +98,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 = 'tmux'
$package = 'graphviz'
$source = 'homebrew/core'
$version = '3.3.a'
$version = '9.0.0'
}

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

0 comments on commit 904e2bb

Please sign in to comment.