mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-15 19:56:59 +08:00
21 lines
417 B
Ruby
21 lines
417 B
Ruby
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
module Test
|
|
module Helper
|
|
module Fixtures
|
|
def dylib_path(name)
|
|
Pathname.new("#{TEST_FIXTURE_DIR}/mach/#{name}.dylib")
|
|
end
|
|
|
|
def bundle_path(name)
|
|
Pathname.new("#{TEST_FIXTURE_DIR}/mach/#{name}.bundle")
|
|
end
|
|
|
|
def cask_path(name)
|
|
Pathname.new("#{TEST_FIXTURE_DIR}/cask/Casks/#{name}.rb")
|
|
end
|
|
end
|
|
end
|
|
end
|