Skip to content

Commit

Permalink
Remove ":in `" from spec
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahchen6 committed Nov 8, 2024
1 parent c8bd1e4 commit 9e62d92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/datadog/opentelemetry_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -630,11 +630,11 @@
expect(span.events[0].attributes['exception.message']).to eq('Error')
expect(span.events[0].attributes['exception.type']).to eq('StandardError')
expect(span.events[0].attributes['exception.stacktrace']).to include(
":in `full_message': Error (StandardError)"
"full_message': Error (StandardError)"
)
expect(span).to_not have_error
expect(span).to have_error_message('Error')
expect(span).to have_error_stack(include(":in `full_message': Error (StandardError)"))
expect(span).to have_error_stack(include("full_message': Error (StandardError)"))
expect(span).to have_error_type('StandardError')
end
end
Expand All @@ -649,7 +649,7 @@
expect(span.events[0].attributes).to eq({})
expect(span).to_not have_error
expect(span).to have_error_message('Error')
expect(span).to have_error_stack(include(":in `full_message': Error (StandardError)"))
expect(span).to have_error_stack(include("full_message': Error (StandardError)"))
expect(span).to have_error_type('StandardError')
end
end
Expand Down

0 comments on commit 9e62d92

Please sign in to comment.