You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating to v0.26.0, I'm seeing errors like these in a gem I'm working on:
An error occurred while Minitest/TestFileName cop was inspecting PATH_TO_GEM/test/dummy/config/initializers/content_security_policy.rb.
An error occurred while Minitest/TestFileName cop was inspecting PATH_TO_GEM/test/dummy/config/initializers/inflections.rb.
An error occurred while Minitest/TestFileName cop was inspecting PATH_TO_GEM/test/dummy/config/initializers/permissions_policy.rb.
Those files are part of a dummy Rails application we use for testing. They mainly contain comments.
This is the backtrace I'm getting when running rubocop -d:
After updating to v0.26.0, I'm seeing errors like these in a gem I'm working on:
Those files are part of a dummy Rails application we use for testing. They mainly contain comments.
This is the backtrace I'm getting when running
rubocop -d
:Expected behavior
The TestFileName cop should run without errors and not register any offenses for empty files.
Actual behavior
The TestFileName cop errors.
Steps to reproduce the problem
Add an empty file to the test directory.
RuboCop version
The text was updated successfully, but these errors were encountered: