
- The defaults of using "do ... end" for multi-line blocks everywhere is good, better than switching everything to braces everywhere.
16 lines
274 B
Ruby
16 lines
274 B
Ruby
# typed: false
|
|
# frozen_string_literal: true
|
|
|
|
require_relative "shared_examples"
|
|
|
|
describe UnpackStrategy::Mercurial do
|
|
let(:repo) do
|
|
mktmpdir.tap do |repo|
|
|
(repo/".hg").mkpath
|
|
end
|
|
end
|
|
let(:path) { repo }
|
|
|
|
include_examples "UnpackStrategy::detect"
|
|
end
|