diff --git a/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb b/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb index b77f9599a8..4b6f1bca27 100644 --- a/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb +++ b/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb @@ -255,7 +255,7 @@ shared_examples "#uninstall_phase or #zap_phase" do .with( "osascript", args: ["-e", 'tell application "System Events" to delete every login item whose name is "Fancy"'], - ) + ) .and_return(instance_double("SystemCommand::Result")) subject.public_send(:"#{artifact_dsl_key}_phase", command: fake_system_command) diff --git a/Library/Homebrew/test/cask/installer_spec.rb b/Library/Homebrew/test/cask/installer_spec.rb index a03290e124..ac19ed13bd 100644 --- a/Library/Homebrew/test/cask/installer_spec.rb +++ b/Library/Homebrew/test/cask/installer_spec.rb @@ -111,7 +111,7 @@ describe Cask::Installer, :cask do expect { Cask::Installer.new(with_installer_manual).install }.to output( - <<~EOS + <<~EOS, ==> Satisfying dependencies ==> Downloading file:#{HOMEBREW_LIBRARY_PATH}/test/support/fixtures/cask/caffeine.zip ==> Verifying SHA-256 checksum for Cask 'with-installer-manual'. diff --git a/Library/Homebrew/test/descriptions_spec.rb b/Library/Homebrew/test/descriptions_spec.rb index 7374068414..9fe327fd0e 100644 --- a/Library/Homebrew/test/descriptions_spec.rb +++ b/Library/Homebrew/test/descriptions_spec.rb @@ -20,7 +20,7 @@ describe Descriptions do descriptions_hash["somedev/external/foo"] = "External foo" expect { subject.print }.to output( - <<~EOS + <<~EOS, homebrew/core/foo: Core foo somedev/external/foo: External foo EOS @@ -33,7 +33,7 @@ describe Descriptions do descriptions_hash["otherdev/external/foo"] = "Other external foo" expect { subject.print }.to output( - <<~EOS + <<~EOS, homebrew/core/foo: Core foo otherdev/external/foo: Other external foo somedev/external/foo: External foo diff --git a/Library/Homebrew/test/messages_spec.rb b/Library/Homebrew/test/messages_spec.rb index ae5a9fadfc..527b35d23e 100644 --- a/Library/Homebrew/test/messages_spec.rb +++ b/Library/Homebrew/test/messages_spec.rb @@ -61,7 +61,7 @@ describe Messages do it "prints caveat details" do expect { messages.display_messages }.to output( - <<~EOS + <<~EOS, ==> Caveats ==> foo Zsh completions were installed @@ -88,7 +88,7 @@ describe Messages do it "prints installation times" do expect { messages.display_messages }.to output( - <<~EOS + <<~EOS, ==> Installation times foo 1.100 s EOS