Skip to content

Commit

Permalink
Add missing private for Minitest/NonExecutableTestMethod
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Jan 7, 2024
1 parent 1cca1e0 commit f063979
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/rubocop/cop/minitest/non_executable_test_method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ def on_def(node)
add_offense(node)
end

private

def use_test_class?
root_node = processed_source.ast

Expand Down

0 comments on commit f063979

Please sign in to comment.