rephrase failure message
This commit is contained in:
parent
a3ee3650cb
commit
b1baca7720
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user