Skip to content

Commit

Permalink
Follow style in other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk committed Nov 7, 2018
1 parent fc71f93 commit 0deff48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/contrib/sidekiq/client_tracer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ def test_empty
spans = @writer.spans
assert_equal(2, spans.length)

parent_span = spans[0]
parent_span, child_span = spans

assert_equal('parent.span', parent_span.name)
assert_equal(0, parent_span.status)
assert_nil(parent_span.parent)

child_span = spans[1]
assert_equal('sidekiq', child_span.service)
assert_equal('ClientTracerTest::EmptyWorker', child_span.resource)
assert_equal('default', child_span.get_tag('sidekiq.job.queue'))
Expand Down

0 comments on commit 0deff48

Please sign in to comment.