Skip to content

Commit daa5f0f

Browse files
authored
Merge pull request #20 from viralpraxis/fix-unused-variable-warning
Fix unused variable warning
2 parents 8ccdc1f + d6f0780 commit daa5f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec/parameterized/core/composite_parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def self.use_prism?
2525
# @raise [RSpec::Parameterized::Core::ParserSyntaxError]
2626
def self.to_raw_source_with_parser(obj)
2727
obj.is_a?(Proc) ? obj.to_raw_source : obj.inspect
28-
rescue Parser::SyntaxError => e
28+
rescue Parser::SyntaxError
2929
raise ParserSyntaxError
3030
end
3131
private_class_method :to_raw_source_with_parser

0 commit comments

Comments
 (0)