Skip to content

Commit

Permalink
somehow forgot to call the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
radbasa committed Jan 12, 2024
1 parent 9b72efe commit 4523b4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-linter_box_function_import_count_linter.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ lint_message <- function(max = 5L) {
test_that("box_func_import_count_linter skips allowed function count.", {
linter <- box_func_import_count_linter(max = 5)

lintr::expect_lint(five_function_imports, NULL, )
lintr::expect_lint(five_function_imports, NULL, linter)
lintr::expect_lint(five_function_imports_inline, NULL, linter)
})

test_that("box_func_import_count_linter skips allowed function count supplied max", {
linter <- box_func_import_count_linter(max = 3)

lintr::expect_lint(three_function_imports, NULL, )
lintr::expect_lint(three_function_imports, NULL, linter)
lintr::expect_lint(three_function_imports_inline, NULL, linter)
})

Expand Down

0 comments on commit 4523b4d

Please sign in to comment.