More realistic alias_path test
This commit is contained in:
parent
c58bbdc213
commit
8bbcbfc020
@ -8,7 +8,7 @@ class FormulaTests < Homebrew::TestCase
|
|||||||
name = "formula_name"
|
name = "formula_name"
|
||||||
path = Formulary.core_path(name)
|
path = Formulary.core_path(name)
|
||||||
spec = :stable
|
spec = :stable
|
||||||
alias_path = "formula_alias"
|
alias_path = CoreTap.instance.alias_dir/"formula_alias"
|
||||||
|
|
||||||
f = klass.new(name, path, spec, :alias_path => alias_path)
|
f = klass.new(name, path, spec, :alias_path => alias_path)
|
||||||
assert_equal name, f.name
|
assert_equal name, f.name
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user