Switch to hash rockets

This commit is contained in:
Alyssa Ross 2016-09-04 20:48:15 +01:00
parent 0ef3e1e0dc
commit c17664b124
2 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ class Formulary
# Gets the formula instance.
def get_formula(spec)
klass.new(name, path, spec, install_name: install_name)
klass.new(name, path, spec, :install_name => install_name)
end
def klass

View File

@ -10,7 +10,7 @@ class FormulaTests < Homebrew::TestCase
spec = :stable
install_name = "formula_alias"
f = klass.new(name, path, spec, install_name: install_name)
f = klass.new(name, path, spec, :install_name => install_name)
assert_equal name, f.name
assert_equal path, f.path
assert_equal install_name, f.install_name
@ -23,7 +23,7 @@ class FormulaTests < Homebrew::TestCase
spec = :stable
install_name = "formula_alias"
f = Testball.new(name, path, spec, install_name: install_name)
f = Testball.new(name, path, spec, :install_name => install_name)
assert_equal f.install_name, f.install_ref
end