Skip to content

Commit

Permalink
restore ddeleted test
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico committed Dec 6, 2023
1 parent c131643 commit 4242f1e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/testthat/test-missing_argument_linter.R
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,17 @@ test_that("lints vectorize", {
linter_trailing
)

expect_lint(
trim_some("{
foo(1,)
bar(,2)
}"),
list(
list(lint_msg, line_number = 2L),
list(lint_msg, line_number = 3L)
),
linter
)
expect_lint(
trim_some("{
foo(1,)
Expand Down

0 comments on commit 4242f1e

Please sign in to comment.