Merge pull request #19777 from Homebrew/cask-container-test-fix-3.4

test/cask/dsl/container_spec: fix test failure with Ruby 3.4
This commit is contained in:
Bo Anderson 2025-04-16 16:22:53 +00:00 committed by GitHub
commit dd298af691
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ RSpec.describe Cask::DSL::Container do
let(:params) { { nested: "NestedApp.dmg", type: :naked } }
it "returns the stringified attributes" do
expect(container.to_s).to eq('{:nested=>"NestedApp.dmg", :type=>:naked}')
expect(container.to_s).to eq(params.inspect)
end
end