mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
rubocop: fix the Naming/HeredocDelimiterCase cop
This commit is contained in:
parent
f944340b79
commit
030e74de3c
2 changed files with 4 additions and 11 deletions
|
@ -77,10 +77,3 @@ Naming/ConstantName:
|
|||
Exclude:
|
||||
- 'lib/pry/input_completer.rb'
|
||||
- 'spec/completion_spec.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: lowercase, uppercase
|
||||
Naming/HeredocDelimiterCase:
|
||||
Exclude:
|
||||
- 'spec/helpers/table_spec.rb'
|
||||
|
|
|
@ -33,17 +33,17 @@ describe 'Formatting Table' do
|
|||
end
|
||||
|
||||
it 'should handle a tiny case' do
|
||||
try_round_trip(<<-eot)
|
||||
try_round_trip(<<-TABLE)
|
||||
asdf asfddd fdass
|
||||
eot
|
||||
TABLE
|
||||
end
|
||||
|
||||
it 'should handle the basic case' do
|
||||
try_round_trip(<<-eot)
|
||||
try_round_trip(<<-TABLE)
|
||||
aadd ddasffssdad sdsaadaasd ssfasaafssd
|
||||
adassdfffaasds f sdsfasddasfds ssssdaa
|
||||
assfsafsfsds fsasa ssdsssafsdasdf
|
||||
eot
|
||||
TABLE
|
||||
end
|
||||
|
||||
it 'should handle... another basic case' do
|
||||
|
|
Loading…
Reference in a new issue