Skip to content

Commit

Permalink
Update spec/datadog/di/code_tracker_spec.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Sergey Fedorov <oni.strech@gmail.com>
  • Loading branch information
p-datadog and Strech committed Sep 25, 2024
1 parent 12b3d63 commit 657f8bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/datadog/di/code_tracker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# Should still be empty here.
expect(tracker.send(:registry)).to be_empty
load File.join(File.dirname(__FILE__), "code_tracker_test_class_1.rb")
expect(tracker.send(:registry).each.to_a.length).to eq(1)
expect(tracker.send(:registry).length).to eq(1)

path = tracker.send(:registry).each.to_a.first.first
# The path in the registry should be absolute.
Expand Down

0 comments on commit 657f8bf

Please sign in to comment.