mirror of
https://github.com/gosticks/brew.git
synced 2026-10-04 06:26:59 +00:00
add missing method to test_os_mac_dependency_collector
This commit is contained in:
@@ -2,6 +2,10 @@ require "testing_env"
|
||||
require "dependency_collector"
|
||||
|
||||
class OSMacDependencyCollectorTests < Homebrew::TestCase
|
||||
def find_dependency(name)
|
||||
@d.deps.find { |dep| dep.name == name }
|
||||
end
|
||||
|
||||
def setup
|
||||
@d = DependencyCollector.new
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user