diff --git a/tests/testthat/test-check_file_exists.R b/tests/testthat/test-check_file_exists.R index 54f7b4b..ce9aa5b 100644 --- a/tests/testthat/test-check_file_exists.R +++ b/tests/testthat/test-check_file_exists.R @@ -2,7 +2,7 @@ test_that("use", { filename <- tempfile() file.create(filename) expect_true(file.exists(filename)) - expect_silent(get_example_filename()) + expect_silent(filename) file.remove(filename) expect_false(file.exists(filename)) expect_error(check_file_exists(filename))