From f62009c8f440019072f746079a79e189e418e3b5 Mon Sep 17 00:00:00 2001 From: Marco Costa Date: Wed, 22 Feb 2023 16:58:49 -0800 Subject: [PATCH] Rubocop --- spec/datadog/core/workers/interval_loop_spec.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spec/datadog/core/workers/interval_loop_spec.rb b/spec/datadog/core/workers/interval_loop_spec.rb index 7cdddc65563..6006edfaef8 100644 --- a/spec/datadog/core/workers/interval_loop_spec.rb +++ b/spec/datadog/core/workers/interval_loop_spec.rb @@ -124,9 +124,9 @@ backtrace = ['(Not available)'] if backtrace.nil? || backtrace.empty? msg = "#{idx}: #{t} (#{t.class.name})", - 'Thread Backtrace:', - backtrace.map { |l| "\t#{l}" }.join("\n"), - "\n" + 'Thread Backtrace:', + backtrace.map { |l| "\t#{l}" }.join("\n"), + "\n" warn(msg) end @@ -183,9 +183,9 @@ backtrace = ['(Not available)'] if backtrace.nil? || backtrace.empty? msg = "#{idx}: #{t} (#{t.class.name})", - 'Thread Backtrace:', - backtrace.map { |l| "\t#{l}" }.join("\n"), - "\n" + 'Thread Backtrace:', + backtrace.map { |l| "\t#{l}" }.join("\n"), + "\n" warn(msg) end