Skip to content

Commit

Permalink
Fix an edge offense for Style/SymbolProc
Browse files Browse the repository at this point in the history
  • Loading branch information
ydah authored and bquorning committed Jun 2, 2024
1 parent 0d51335 commit 7067b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/rspec/multiple_expectations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class MultipleExpectations < Base
MSG = 'Example has too many expectations [%<total>d/%<max>d].'

ANYTHING = ->(_node) { true }
TRUE = ->(node) { node.true_type? }
TRUE = lambda(&:true_type?)

# @!method aggregate_failures?(node)
def_node_matcher :aggregate_failures?, <<~PATTERN
Expand Down

0 comments on commit 7067b79

Please sign in to comment.