mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
various: fix future tense in tests
Co-authored-by: Bo Anderson <mail@boanderson.me>
This commit is contained in:
parent
519017d5f0
commit
50b0940c72
@ -34,7 +34,7 @@ describe Cask::DSL, :cask do
|
||||
end.to output(expected).to_stderr
|
||||
end
|
||||
|
||||
it "will simply warn, not throw an exception" do
|
||||
it "simply warns, instead of throwing an exception" do
|
||||
expect do
|
||||
attempt_unknown_method
|
||||
end.not_to raise_error
|
||||
|
@ -476,7 +476,7 @@ describe Cask::Upgrade, :cask do
|
||||
allow_any_instance_of(described_class).to receive(:verbose?).and_return(true)
|
||||
end
|
||||
|
||||
it "will not end the upgrade process" do
|
||||
it "does not end the upgrade process" do
|
||||
bad_checksum = Cask::CaskLoader.load("bad-checksum")
|
||||
bad_checksum_path = bad_checksum.config.appdir.join("Caffeine.app")
|
||||
|
||||
|
@ -220,7 +220,7 @@ describe Homebrew::Completions do
|
||||
expect(described_class.command_options("help")).to eq({})
|
||||
end
|
||||
|
||||
it "will override global options with local descriptions" do
|
||||
it "overrides global options with local descriptions" do
|
||||
options = described_class.command_options("upgrade")
|
||||
expect(options["--verbose"]).to eq "Print the verification and post-install steps."
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user