livecheck: Clean up whitespace, ordering

This commit is contained in:
Sam Ford 2024-03-29 09:26:14 -04:00
parent a4134125f2
commit 111ac5810c
No known key found for this signature in database
GPG Key ID: 7AF5CBEE1DD6F76D
2 changed files with 5 additions and 6 deletions

View File

@ -202,7 +202,6 @@ module Homebrew
has_a_newer_upstream_version = T.let(false, T::Boolean) has_a_newer_upstream_version = T.let(false, T::Boolean)
formulae_and_casks_total = formulae_and_casks_to_check.count formulae_and_casks_total = formulae_and_casks_to_check.count
if json && !quiet && $stderr.tty? if json && !quiet && $stderr.tty?
Tty.with($stderr) do |stderr| Tty.with($stderr) do |stderr|
stderr.puts Formatter.headline("Running checks", color: :blue) stderr.puts Formatter.headline("Running checks", color: :blue)

View File

@ -31,11 +31,6 @@ RSpec.describe Homebrew::Livecheck::SkipConditions do
url "https://brew.sh/test-0.0.1.tgz" url "https://brew.sh/test-0.0.1.tgz"
disable! date: "2020-06-25", because: :unmaintained disable! date: "2020-06-25", because: :unmaintained
end, end,
versioned: formula("test@0.0.1") do
desc "Versioned test formula"
homepage "https://brew.sh"
url "https://brew.sh/test-0.0.1.tgz"
end,
head_only: formula("test_head_only") do head_only: formula("test_head_only") do
desc "HEAD-only test formula" desc "HEAD-only test formula"
homepage "https://brew.sh" homepage "https://brew.sh"
@ -74,6 +69,11 @@ RSpec.describe Homebrew::Livecheck::SkipConditions do
skip "Not maintained" skip "Not maintained"
end end
end, end,
versioned: formula("test@0.0.1") do
desc "Versioned test formula"
homepage "https://brew.sh"
url "https://brew.sh/test-0.0.1.tgz"
end,
} }
end end