Skip to content

Commit 4a773ff

Browse files
Add failing tests
1 parent 638007b commit 4a773ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/oxc_linter/src/rules/eslint/no_self_compare.rs

+2
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ fn test() {
8181
("x == x", None),
8282
("x != x", None),
8383
("x > x", None),
84+
("x > (x)", None),
85+
("(x) > x", None),
8486
("x < x", None),
8587
("x >= x", None),
8688
("x <= x", None),

0 commit comments

Comments
 (0)