Skip to content

Conversation

@viralpraxis
Copy link
Contributor

@viralpraxis viralpraxis commented Aug 5, 2025

Rescued exception is assigned to e, but it is never used. This leads to a warning:

lib/rspec/parameterized/core/composite_parser.rb:28: warning: assigned but unused variable - e

Rescue exception is assigned to `e`, but it is never used.
This leads to a warning:

```
rspec-parameterized-core-2.0.0/lib/rspec/parameterized/core/composite_parser.rb:28: warning: assigned but unused variable - e
```
@sue445 sue445 self-requested a review August 5, 2025 22:41
Copy link
Contributor

@sue445 sue445 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch!

@sue445 sue445 merged commit daa5f0f into rspec-parameterized:main Aug 5, 2025
6 checks passed
@viralpraxis viralpraxis deleted the fix-unused-variable-warning branch August 7, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants