Skip to content

Commit 236cfc1

Browse files
fix: skip test unless it implements gat
Co-authored-by: Francis Bogsanyi <[email protected]>
1 parent 1e84858 commit 236cfc1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

instrumentation/dalli/test/opentelemetry/instrumentation/dalli/instrumentation_test.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@
129129
end
130130

131131
it 'supports gat' do
132+
skip unless dalli.respond_to?(:gat)
133+
132134
dalli.gat('foo')
133135

134136
_(exporter.finished_spans.size).must_equal 1

0 commit comments

Comments
 (0)