Skip to content

Fix unused variable warning in DI spec_helper leak detector - #6177

Open
p-datadog wants to merge 1 commit into
masterfrom
di-spec-helper-unused-var
Open

Fix unused variable warning in DI spec_helper leak detector#6177
p-datadog wants to merge 1 commit into
masterfrom
di-spec-helper-unused-var

Conversation

@p-datadog

@p-datadog p-datadog commented Aug 11, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Silences a Ruby verbose warning emitted while loading spec/datadog/di/spec_helper.rb:

spec/datadog/di/spec_helper.rb:251: warning: assigned but unused variable - example

Motivation:

Keep spec output free of Ruby warnings.

Change log entry

None.

Additional Notes:

Test-only change.

How to test the change?

Existing CI

@dd-octo-sts dd-octo-sts Bot added the dev/testing Involves testing processes (e.g. RSpec) label Aug 11, 2026
@datadog-prod-us1-4

datadog-prod-us1-4 Bot commented Aug 11, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 89.98% (+0.01%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 4cc511d | Docs | Datadog PR Page | Give us feedback!

@p-datadog
p-datadog marked this pull request as ready for review August 11, 2026 14:53
@p-datadog
p-datadog requested review from a team as code owners August 11, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev/testing Involves testing processes (e.g. RSpec)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants