Skip to content

Commit

Permalink
Merge pull request #15881 from samford/livecheck/guard-watchlist-test
Browse files Browse the repository at this point in the history
dev-cmd/livecheck: avoid watchlist in test
  • Loading branch information
MikeMcQuaid authored Aug 16, 2023
2 parents e475de2 + 1d404e4 commit 1b2294e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/test/dev-cmd/livecheck_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
end

it "gives an error when no arguments are given and there's no watchlist", :integration_test do
expect { brew "livecheck" }
expect { brew "livecheck", "HOMEBREW_LIVECHECK_WATCHLIST" => ".this_should_not_exist" }
.to output(/Invalid usage: A watchlist file is required when no arguments are given\./).to_stderr
.and not_to_output.to_stdout
.and be_a_failure
Expand Down

0 comments on commit 1b2294e

Please sign in to comment.