Skip to content

Commit bf3bf37

Browse files
committed
chore: Rubocop Style/CollectionQuerying
1 parent ae3fd8a commit bf3bf37

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/que/test/opentelemetry/instrumentation

1 file changed

+1
-1
lines changed

instrumentation/que/test/opentelemetry/instrumentation/que_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def self.run(first, second); end
243243
_(root_span.parent_span_id).must_equal(OpenTelemetry::Trace::INVALID_SPAN_ID)
244244

245245
other_spans = spans - [root_span]
246-
_(other_spans.count.positive?).must_equal(true)
246+
_(other_spans.any?).must_equal(true)
247247

248248
other_spans.each do |other_span|
249249
_(other_span.parent_span_id).must_equal(root_span.span_id)

0 commit comments

Comments
 (0)