Skip to content

Commit 4107035

Browse files
authored
Merge pull request #2063 from rubocop/fix-internal-affairs
Fix `Style/RedundantParentheses` offense on edge rubocop
2 parents da49c6f + cb2660d commit 4107035

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rubocop/cop/rspec/nested_groups.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ def find_nested_example_groups(node, nesting: 1, &block)
133133

134134
def count_up_nesting?(node, example_group)
135135
example_group &&
136-
(node.block_type? &&
137-
!allowed_groups.include?(node.method_name.to_s))
136+
node.block_type? &&
137+
!allowed_groups.include?(node.method_name.to_s)
138138
end
139139

140140
def message(nesting)

0 commit comments

Comments
 (0)