Skip to content

Commit eee620c

Browse files
committed
test(net_http): fix require_relative paths in tests
remove trailing blank lines in net_http test files Signed-off-by: Mateen Anjum <mateenali66@gmail.com>
1 parent 20dc2bd commit eee620c

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

instrumentation/net_http/test/opentelemetry/instrumentation/net/http/http_helper_test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
require 'test_helper'
88

9-
require_relative '../../../../../../lib/opentelemetry/instrumentation/net/http/http_helper'
9+
require_relative '../../../../../lib/opentelemetry/instrumentation/net/http/http_helper'
1010

1111
describe OpenTelemetry::Instrumentation::Net::HTTP::HttpHelper do
1212
let(:helper) { OpenTelemetry::Instrumentation::Net::HTTP::HttpHelper }
@@ -69,4 +69,3 @@
6969
end
7070
end
7171
end
72-

instrumentation/net_http/test/opentelemetry/instrumentation/net/http/instrumentation_config_test.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
require 'test_helper'
88

9-
require_relative '../../../../../../lib/opentelemetry/instrumentation/net/http/instrumentation'
10-
require_relative '../../../../../../lib/opentelemetry/instrumentation/net/http/patches/stable/instrumentation'
9+
require_relative '../../../../../lib/opentelemetry/instrumentation/net/http/instrumentation'
10+
require_relative '../../../../../lib/opentelemetry/instrumentation/net/http/patches/stable/instrumentation'
1111

1212
describe OpenTelemetry::Instrumentation::Net::HTTP::Instrumentation do
1313
let(:instrumentation) { OpenTelemetry::Instrumentation::Net::HTTP::Instrumentation.instance }
@@ -62,4 +62,3 @@
6262
end
6363
end
6464
end
65-

0 commit comments

Comments
 (0)