Skip to content

Commit

Permalink
Fix test/unpack_strategy/zstd for Ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
sjackman committed Sep 5, 2022
1 parent ee3e7ba commit 4adb638
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Library/Homebrew/test/unpack_strategy/zstd_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
describe UnpackStrategy::Zstd do
let(:path) { TEST_FIXTURE_DIR/"cask/container.tar.zst" }

include_examples "UnpackStrategy::detect"
it "is correctly detected" do
expect(UnpackStrategy.detect(path)).to(be_a(described_class).or(be_a(UnpackStrategy::Tar)))
end
end

0 comments on commit 4adb638

Please sign in to comment.