Skip to content

Commit 5c5f8d9

Browse files
committed
fix
1 parent bdd7802 commit 5c5f8d9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.rubocop.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,16 @@ Style/ArgumentsForwarding:
3131
Style/ClassAndModuleChildren:
3232
Enabled: false
3333

34+
Style/ClassVars:
35+
Exclude:
36+
- 'test/**/*.rb'
37+
3438
Style/FetchEnvVar:
3539
Enabled: false
3640

41+
Style/StringConcatenation:
42+
Enabled: false
43+
3744
Style/StringHashKeys:
3845
Enabled: false
3946

test/fluent/plugin/test_out_otlp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
require "webrick"
99

1010
class Fluent::Plugin::OtlpOutputTest < Test::Unit::TestCase
11-
class ServerRequest < Struct.new(:request_method, :path, :header, :body); end
11+
ServerRequest = Struct.new(:request_method, :path, :header, :body)
1212

1313
DEFAULT_LOGGER = ::WEBrick::Log.new($stdout, ::WEBrick::BasicLog::FATAL)
1414

0 commit comments

Comments
 (0)