mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
brew style error
This commit is contained in:
parent
ea7d441370
commit
1b0e79121a
@ -138,12 +138,10 @@ RSpec.shared_context "integration test" do # rubocop:disable RSpec/ContextWordin
|
|||||||
# Use a different tarball for testball2 to avoid lock errors when writing concurrency tests
|
# Use a different tarball for testball2 to avoid lock errors when writing concurrency tests
|
||||||
prefix = (name == "testball2") ? "testball2" : "testball"
|
prefix = (name == "testball2") ? "testball2" : "testball"
|
||||||
tarball = if OS.linux?
|
tarball = if OS.linux?
|
||||||
TEST_FIXTURE_DIR/"tarballs/testball-0.1-linux.tbz"
|
TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1-linux.tbz"
|
||||||
TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1-linux.tbz"
|
else
|
||||||
else
|
TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1.tbz"
|
||||||
TEST_FIXTURE_DIR/"tarballs/testball-0.1.tbz"
|
end
|
||||||
TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1.tbz"
|
|
||||||
end
|
|
||||||
content = <<~RUBY
|
content = <<~RUBY
|
||||||
desc "Some test"
|
desc "Some test"
|
||||||
homepage "https://brew.sh/#{name}"
|
homepage "https://brew.sh/#{name}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user