Skip to content

Commit

Permalink
Add branch for negative non-integer values
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo committed Dec 10, 2023
1 parent d6fc33a commit 1797fa2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/expect_identical_linter.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ expect_identical_linter <- function() {
and expr[NUM_CONST[contains(text(), '.')]]
]
or following-sibling::expr[NUM_CONST[contains(text(), '.')]]
or following-sibling::expr[
OP-MINUS
and expr[NUM_CONST[contains(text(), '.')]]
]
or following-sibling::expr[SYMBOL[text() = '...']]
)]
/parent::expr
Expand Down

0 comments on commit 1797fa2

Please sign in to comment.