test: use ARGV.resolved_formulae
This commit is contained in:
parent
d338f291df
commit
356df9baee
@ -8,7 +8,7 @@ module Homebrew
|
|||||||
def test
|
def test
|
||||||
raise FormulaUnspecifiedError if ARGV.named.empty?
|
raise FormulaUnspecifiedError if ARGV.named.empty?
|
||||||
|
|
||||||
ARGV.formulae.each do |f|
|
ARGV.resolved_formulae.each do |f|
|
||||||
# Cannot test uninstalled formulae
|
# Cannot test uninstalled formulae
|
||||||
unless f.installed?
|
unless f.installed?
|
||||||
ofail "Testing requires the latest version of #{f.name}"
|
ofail "Testing requires the latest version of #{f.name}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user