1
0
Fork 0
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:
Kyrylo Silin 2019-03-24 18:14:20 +02:00
parent f944340b79
commit 030e74de3c
2 changed files with 4 additions and 11 deletions

View file

@ -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'

View file

@ -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