Skip to content

Commit

Permalink
standard
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Jan 9, 2025
1 parent dfe7473 commit a482c0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/datadog/di/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
RSpec.describe 'DI initializer' do
di_test

# rubocop:disable Lint/ConstantDefinitionInBlock
BOOTSTRAP_SCRIPT = <<-SCRIPT
if defined?(Datadog) && Datadog.constants != %i(VERSION)
raise "Datadog code loaded too early"
Expand Down Expand Up @@ -38,6 +39,7 @@
raise "Too many datadog components loaded at the end of execution: \#{Datadog.constants}"
end
SCRIPT
# rubocop:enable Lint/ConstantDefinitionInBlock

context 'when loaded initially into a clean process' do
it 'loads only DI code tracker' do
Expand Down

0 comments on commit a482c0f

Please sign in to comment.