Skip to content

Commit

Permalink
put back in the assertion that was removed during debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Jan 14, 2025
1 parent 02f9c1d commit 294d41f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/datadog/di/code_tracker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@
expect(tracker.send(:registry).length).to eq(1)
path = tracker.send(:registry).to_a.dig(0, 0)
expect(File.basename(path)).to eq("code_tracker_test_class_4.rb")

require_relative 'code_tracker_test_class_5'
expect(tracker.send(:registry).length).to eq(2)
path = tracker.send(:registry).to_a.dig(1, 0)
expect(File.basename(path)).to eq("code_tracker_test_class_5.rb")
end

begin
Expand Down

0 comments on commit 294d41f

Please sign in to comment.