We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dfc6b7 commit 7f79d13Copy full SHA for 7f79d13
tests/testthat/test-conjunct_test_linter.R
@@ -59,7 +59,7 @@ test_that("conjunct_test_linter skips allowed stopifnot() and assert_that() usag
59
60
test_that("conjunct_test_linter blocks simple disallowed usages of stopifnot() and assert_that()", {
61
linter <- conjunct_test_linter()
62
- lint_msg <- function(FUN) rex::rex("Instead of ", FUN, "(A && B), write multiple conditions")
+ lint_msg <- function(fun) rex::rex("Instead of ", fun, "(A && B), write multiple conditions")
63
64
expect_lint("stopifnot(x && y)", lint_msg("stopifnot"), linter)
65
expect_lint("stopifnot(x && y && z)", lint_msg("stopifnot"), linter)
0 commit comments