Closed ydah closed 8 months ago
Maybe we should add https://github.com/rubocop/rubocop-rubycw to Gemfile. Would that have caught the issue earlier?
I checked this PR below and it looks like it doesn't support jruby.
I mean, it’s weird if String#chars
has a different API in CRuby and JRuby.
String#chars has a deprecated warning until Ruby 2.6, but the warning seems to have been removed in Ruby 2.7. However, the warning continues to appear in jruby.
Thanks!
Fix: https://github.com/rubocop/rubocop-capybara/issues/100
Before submitting the PR make sure the following are checked:
main
(if not - rebase it).CHANGELOG.md
if the new code introduces user-observable changes.bundle exec rake
) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).