mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-15 19:56:59 +08:00
17 lines
341 B
Ruby
17 lines
341 B
Ruby
# frozen_string_literal: true
|
|
|
|
require_relative "shared_examples"
|
|
|
|
describe UnpackStrategy::Cvs do
|
|
let(:repo) {
|
|
mktmpdir.tap do |repo|
|
|
FileUtils.touch repo/"test"
|
|
(repo/"CVS").mkpath
|
|
end
|
|
}
|
|
let(:path) { repo }
|
|
|
|
include_examples "UnpackStrategy::detect"
|
|
include_examples "#extract", children: ["CVS", "test"]
|
|
end
|