diff --git a/spec/datadog/tracing/contrib/trilogy/patcher_spec.rb b/spec/datadog/tracing/contrib/trilogy/patcher_spec.rb index 0ba135328f0..492ff7424cc 100644 --- a/spec/datadog/tracing/contrib/trilogy/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/trilogy/patcher_spec.rb @@ -138,7 +138,7 @@ expect(span.get_tag('span.kind')).to eq('client') expect(span.get_tag('db.system')).to eq('mysql') expect(span.get_tag('error.message')) - .to eq("1054: Unknown column 'INVALID' in 'field list'") + .to include("1054: Unknown column 'INVALID' in 'field list'") end it_behaves_like 'with sql comment propagation', span_op_name: 'trilogy.query', error: Trilogy::Error