We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ccdc1f + d6f0780 commit daa5f0fCopy full SHA for daa5f0f
lib/rspec/parameterized/core/composite_parser.rb
@@ -25,7 +25,7 @@ def self.use_prism?
25
# @raise [RSpec::Parameterized::Core::ParserSyntaxError]
26
def self.to_raw_source_with_parser(obj)
27
obj.is_a?(Proc) ? obj.to_raw_source : obj.inspect
28
- rescue Parser::SyntaxError => e
+ rescue Parser::SyntaxError
29
raise ParserSyntaxError
30
end
31
private_class_method :to_raw_source_with_parser
0 commit comments