Skip to content

Commit d25064b

Browse files
committed
Add file name to config error msg
1 parent 60eb6de commit d25064b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-lint_package.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ test_that("package using .lintr.R config lints correctly", {
211211
# config has bad R syntax
212212
expect_error(
213213
lint_package(test_path("dummy_packages", "RConfigInvalid")),
214-
"Malformed config file, ensure it is valid R syntax",
214+
"Malformed config file (lintr_test_config.R), ensure it is valid R syntax",
215215
fixed = TRUE
216216
)
217217

0 commit comments

Comments
 (0)