Skip to content

Commit

Permalink
various: fix future tense in tests
Browse files Browse the repository at this point in the history
Co-authored-by: Bo Anderson <mail@boanderson.me>
  • Loading branch information
p-linnane and Bo98 committed Jan 6, 2024
1 parent 521d6a7 commit f675024
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Library/Homebrew/test/cask/dsl_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
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
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/test/cask/upgrade_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@
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")

Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/test/completions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def delete_completions_setting(setting: "linkcompletions")
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
Expand Down

0 comments on commit f675024

Please sign in to comment.