rephrase failure message

This commit is contained in:
Razvan Azamfirei 2023-06-20 11:33:49 -04:00
parent a3ee3650cb
commit b1baca7720
No known key found for this signature in database
GPG Key ID: 62E97BFCB12046BD
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ describe RuboCop::Cop::Cask::Desc, :config do
expect_offense <<~RUBY
cask 'foo' do
desc 'Description with a 🍺 symbol'
^ Description shouldn't contain emojis or Unicode characters in the So range.
^ Description shouldn't contain Unicode emojis or symbols.
end
RUBY

View File

@ -139,7 +139,7 @@ describe RuboCop::Cop::FormulaAudit::Desc do
class Foo < Formula
url 'https://brew.sh/foo-1.0.tgz'
desc 'Description with a 🍺 symbol'
^ FormulaAudit/Desc: Description shouldn't contain emojis or Unicode characters in the So range.
^ FormulaAudit/Desc: Description shouldn't contain Unicode emojis or symbols.
end
RUBY