Skip to content

Commit

Permalink
test: Fix assertion deprecation warning
Browse files Browse the repository at this point in the history
must_equal(nil) will be removed in Minitest 6
  • Loading branch information
kaylareopelle committed Sep 4, 2024
1 parent b723b2c commit 7223931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics_sdk/test/opentelemetry/sdk/metrics/meter_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
it 'does not require advice' do
instrument = meter.create_histogram('histogram', description: 'stuff', unit: 'things')

_(instrument.instance_variable_get(:@advice)).must_equal(nil)
assert_nil instrument.instance_variable_get(:@advice)
end
end

Expand Down

0 comments on commit 7223931

Please sign in to comment.