File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class BeEq < Base
31
31
32
32
# @!method eq_type_with_identity?(node)
33
33
def_node_matcher :eq_type_with_identity? , <<~PATTERN
34
- (send nil? :eq {true false nil})
34
+ (send nil? :eq {boolean nil})
35
35
PATTERN
36
36
37
37
def on_send ( node )
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class BeEql < Base
45
45
46
46
# @!method eql_type_with_identity(node)
47
47
def_node_matcher :eql_type_with_identity , <<~PATTERN
48
- (send _ :to $(send nil? :eql {true false int float sym nil}))
48
+ (send _ :to $(send nil? :eql {boolean int float sym nil}))
49
49
PATTERN
50
50
51
51
def on_send ( node )
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def cannot_replace_predicate?(send_node)
43
43
44
44
# @!method be_bool?(node)
45
45
def_node_matcher :be_bool? , <<~PATTERN
46
- (send nil? {:be :eq :eql :equal} {true false} )
46
+ (send nil? {:be :eq :eql :equal} boolean )
47
47
PATTERN
48
48
49
49
# @!method be_boolthy?(node)
You can’t perform that action at this time.
0 commit comments