Lint/ToEnumArguments
doesn't support anonymous argument forwarding
#12143
Labels
Lint/ToEnumArguments
doesn't support anonymous argument forwarding
#12143
Expected behavior
Since anonymous arguments forwarding is enforced by
Style/ArgumentsForwarding
,the code below should also be validated by
Lint/ToEnumArguments
Actual behavior
The code return the following issue:
Steps to reproduce the problem
Create a file with example above, then run
bundle exec rubocop --only Lint/ToEnumArguments example.rb
RuboCop version
The text was updated successfully, but these errors were encountered: