From f9c5b236eb5b2e766dcd6301be0374733d93dccd Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Sat, 9 Jul 2022 08:01:26 +0900 Subject: [PATCH] Add some missing \@return comments --- lib/rubocop/cop/rspec/no_expectation_example.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/rubocop/cop/rspec/no_expectation_example.rb b/lib/rubocop/cop/rspec/no_expectation_example.rb index 99da033f8..a416b7693 100644 --- a/lib/rubocop/cop/rspec/no_expectation_example.rb +++ b/lib/rubocop/cop/rspec/no_expectation_example.rb @@ -56,6 +56,7 @@ def on_block(node) private # @param [RuboCop::AST::BlockNode] node + # @return [Boolean] def example_method_call?(node) Examples.all(node.method_name) end @@ -76,6 +77,7 @@ def including_any_expectation?(node) end # @param [RuboCop::AST::Node] node + # @return [Parser::Source::Range] def removed_range(node) range_by_whole_lines( node.location.expression,