We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ca2b9e commit 60eb6deCopy full SHA for 60eb6de
tests/testthat/test-with.R
@@ -1,7 +1,12 @@
1
test_that("modify_defaults produces error with missing or incorrect defaults", {
2
- lint_msg <- "`defaults` must be a named list"
3
- expect_error(modify_defaults(), lint_msg, fixed = TRUE)
4
- expect_error(modify_defaults("assignment_linter"), lint_msg, fixed = TRUE)
+ expect_error(
+ modify_defaults(),
+ "Missing required argument `defaults` should be a named list",
5
+ fixed = TRUE)
6
7
+ modify_defaults("assignment_linter"),
8
+ "`defaults` must be a named list",
9
10
})
11
12
test_that("linters_with_tags produces error with incorrect tags", {
0 commit comments