mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
rubocop: fix offences of the Style/UnneededPercentQ cop
This commit is contained in:
parent
e083d32487
commit
49827934ea
2 changed files with 1 additions and 7 deletions
|
@ -314,12 +314,6 @@ Style/PerlBackrefs:
|
|||
- 'lib/pry/method.rb'
|
||||
- 'lib/pry/rubygem.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Style/UnneededPercentQ:
|
||||
Exclude:
|
||||
- 'spec/syntax_checking_spec.rb'
|
||||
|
||||
# Offense count: 17
|
||||
# Cop supports --auto-correct.
|
||||
Style/VariableInterpolation:
|
||||
|
|
|
@ -40,7 +40,7 @@ describe Pry do
|
|||
end
|
||||
|
||||
it "should not intefere with syntax errors explicitly raised" do
|
||||
redirect_pry_io(InputTester.new(%q(raise SyntaxError, "unexpected $end")), @str_output) do
|
||||
redirect_pry_io(InputTester.new('raise SyntaxError, "unexpected $end"'), @str_output) do
|
||||
Pry.start
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue