rubocop: autofix problems.
This commit is contained in:
parent
190deb36b5
commit
3060125c45
@ -255,7 +255,7 @@ shared_examples "#uninstall_phase or #zap_phase" do
|
|||||||
.with(
|
.with(
|
||||||
"osascript",
|
"osascript",
|
||||||
args: ["-e", 'tell application "System Events" to delete every login item whose name is "Fancy"'],
|
args: ["-e", 'tell application "System Events" to delete every login item whose name is "Fancy"'],
|
||||||
)
|
)
|
||||||
.and_return(instance_double("SystemCommand::Result"))
|
.and_return(instance_double("SystemCommand::Result"))
|
||||||
|
|
||||||
subject.public_send(:"#{artifact_dsl_key}_phase", command: fake_system_command)
|
subject.public_send(:"#{artifact_dsl_key}_phase", command: fake_system_command)
|
||||||
|
@ -111,7 +111,7 @@ describe Cask::Installer, :cask do
|
|||||||
expect {
|
expect {
|
||||||
Cask::Installer.new(with_installer_manual).install
|
Cask::Installer.new(with_installer_manual).install
|
||||||
}.to output(
|
}.to output(
|
||||||
<<~EOS
|
<<~EOS,
|
||||||
==> Satisfying dependencies
|
==> Satisfying dependencies
|
||||||
==> Downloading file:#{HOMEBREW_LIBRARY_PATH}/test/support/fixtures/cask/caffeine.zip
|
==> Downloading file:#{HOMEBREW_LIBRARY_PATH}/test/support/fixtures/cask/caffeine.zip
|
||||||
==> Verifying SHA-256 checksum for Cask 'with-installer-manual'.
|
==> Verifying SHA-256 checksum for Cask 'with-installer-manual'.
|
||||||
|
@ -20,7 +20,7 @@ describe Descriptions do
|
|||||||
descriptions_hash["somedev/external/foo"] = "External foo"
|
descriptions_hash["somedev/external/foo"] = "External foo"
|
||||||
|
|
||||||
expect { subject.print }.to output(
|
expect { subject.print }.to output(
|
||||||
<<~EOS
|
<<~EOS,
|
||||||
homebrew/core/foo: Core foo
|
homebrew/core/foo: Core foo
|
||||||
somedev/external/foo: External foo
|
somedev/external/foo: External foo
|
||||||
EOS
|
EOS
|
||||||
@ -33,7 +33,7 @@ describe Descriptions do
|
|||||||
descriptions_hash["otherdev/external/foo"] = "Other external foo"
|
descriptions_hash["otherdev/external/foo"] = "Other external foo"
|
||||||
|
|
||||||
expect { subject.print }.to output(
|
expect { subject.print }.to output(
|
||||||
<<~EOS
|
<<~EOS,
|
||||||
homebrew/core/foo: Core foo
|
homebrew/core/foo: Core foo
|
||||||
otherdev/external/foo: Other external foo
|
otherdev/external/foo: Other external foo
|
||||||
somedev/external/foo: External foo
|
somedev/external/foo: External foo
|
||||||
|
@ -61,7 +61,7 @@ describe Messages do
|
|||||||
|
|
||||||
it "prints caveat details" do
|
it "prints caveat details" do
|
||||||
expect { messages.display_messages }.to output(
|
expect { messages.display_messages }.to output(
|
||||||
<<~EOS
|
<<~EOS,
|
||||||
==> Caveats
|
==> Caveats
|
||||||
==> foo
|
==> foo
|
||||||
Zsh completions were installed
|
Zsh completions were installed
|
||||||
@ -88,7 +88,7 @@ describe Messages do
|
|||||||
|
|
||||||
it "prints installation times" do
|
it "prints installation times" do
|
||||||
expect { messages.display_messages }.to output(
|
expect { messages.display_messages }.to output(
|
||||||
<<~EOS
|
<<~EOS,
|
||||||
==> Installation times
|
==> Installation times
|
||||||
foo 1.100 s
|
foo 1.100 s
|
||||||
EOS
|
EOS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user