Skip to content

Commit b4297a5

Browse files
committed
fix: fix Rubocop Naming/HeredocDelimiterNaming offense
1 parent e9d9c4f commit b4297a5

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.rubocop_todo.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@
66
# Note that changes in the inspected code, or installation of new
77
# versions of RuboCop, may require this file to be generated again.
88

9-
# Offense count: 1
10-
# Configuration parameters: ForbiddenDelimiters.
11-
# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$))
12-
Naming/HeredocDelimiterNaming:
13-
Exclude:
14-
- 'tests/units/test_signed_commits.rb'
15-
169
# Offense count: 5
1710
# Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods.
1811
# AllowedMethods: call

tests/units/test_signed_commits.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
require 'fileutils'
55

66
class TestSignedCommits < Test::Unit::TestCase
7-
SSH_SIGNATURE_REGEXP = Regexp.new(<<~EOS.chomp, Regexp::MULTILINE)
7+
SSH_SIGNATURE_REGEXP = Regexp.new(<<~REGEXP.chomp, Regexp::MULTILINE)
88
-----BEGIN SSH SIGNATURE-----
99
.*
1010
-----END SSH SIGNATURE-----
11-
EOS
11+
REGEXP
1212

1313
def in_repo_with_signing_config
1414
in_temp_dir do |_path|

0 commit comments

Comments
 (0)