Skip to content

Commit 7f79d13

Browse files
authored
Update test-conjunct_test_linter.R
1 parent 5dfc6b7 commit 7f79d13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-conjunct_test_linter.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ test_that("conjunct_test_linter skips allowed stopifnot() and assert_that() usag
5959

6060
test_that("conjunct_test_linter blocks simple disallowed usages of stopifnot() and assert_that()", {
6161
linter <- conjunct_test_linter()
62-
lint_msg <- function(FUN) rex::rex("Instead of ", FUN, "(A && B), write multiple conditions")
62+
lint_msg <- function(fun) rex::rex("Instead of ", fun, "(A && B), write multiple conditions")
6363

6464
expect_lint("stopifnot(x && y)", lint_msg("stopifnot"), linter)
6565
expect_lint("stopifnot(x && y && z)", lint_msg("stopifnot"), linter)

0 commit comments

Comments
 (0)