Skip to content
Snippets Groups Projects
Commit 0f09674f authored by Mike McQuaid's avatar Mike McQuaid
Browse files

test/test_formula: fix Rubocop warnings.

parent 219c3731
No related branches found
No related tags found
No related merge requests found
......@@ -574,7 +574,7 @@ class FormulaTests < Homebrew::TestCase
url "foo-1.0"
pour_bottle? do
reason "true reason"
satisfy { var == var }
satisfy { true }
end
end
assert f_true.pour_bottle?
......@@ -586,7 +586,10 @@ class OutdatedVersionsTests < Homebrew::TestCase
attr_reader :f
def setup
@f = formula { url "foo"; version "1.20" }
@f = formula do
url "foo"
version "1.20"
end
@outdated_prefix = HOMEBREW_CELLAR/"#{f.name}/1.11"
@same_prefix = HOMEBREW_CELLAR/"#{f.name}/1.20"
@greater_prefix = HOMEBREW_CELLAR/"#{f.name}/1.21"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment