Skip to content

Commit

Permalink
Minor rubocop cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoanjo committed Sep 28, 2021
1 parent 9559c4c commit 3508e0b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/ddtrace/profiling/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
before do
skip 'Profiling is not supported on JRuby.' if PlatformHelpers.jruby?

unless Datadog::Profiling.supported?
raise "Profiling did not loaded: #{Datadog::Profiling.unsupported_reason}"
end
raise "Profiling did not loaded: #{Datadog::Profiling.unsupported_reason}" unless Datadog::Profiling.supported?
end

let(:tracer) { instance_double(Datadog::Tracer) }
Expand Down

0 comments on commit 3508e0b

Please sign in to comment.