From 2bd29cd5c22d6c4252da1017280fc52cea89ce70 Mon Sep 17 00:00:00 2001 From: Sarah Chen Date: Fri, 8 Nov 2024 16:35:08 -0500 Subject: [PATCH] Remove ":in `" from spec --- spec/datadog/opentelemetry_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/datadog/opentelemetry_spec.rb b/spec/datadog/opentelemetry_spec.rb index e941b7d61f..45f82db378 100644 --- a/spec/datadog/opentelemetry_spec.rb +++ b/spec/datadog/opentelemetry_spec.rb @@ -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 @@ -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