Merge pull request #10659 from issyl0/fix-mismatched-test-descriptions

test/rubocops: Fix mismatched test descriptions
This commit is contained in:
Issy Long 2021-02-23 00:13:58 +00:00 committed by GitHub
commit 7a0effdf6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ describe RuboCop::Cop::FormulaAudit::BottleFormat do
RUBY
end
it "reports and corrects old `sha256` syntax in `bottle` block without cellars" do
it "reports and corrects old `sha256` syntax in `bottle` block with cellars" do
expect_offense(<<~RUBY)
class Foo < Formula
url "https://brew.sh/foo-1.0.tgz"

View File

@ -42,7 +42,7 @@ describe RuboCop::Cop::FormulaAudit::OptionDeclarations do
RUBY
end
it "reports an offense when `build.without?` is used for a conditional dependency" do
it "reports an offense when `build.with?` is used for a conditional dependency" do
expect_offense(<<~RUBY)
class Foo < Formula
depends_on "bar" if build.with?("baz")