From f533993768e0ec4bee814e5817bb14b42e6686d4 Mon Sep 17 00:00:00 2001 From: richelbilderbeek Date: Fri, 16 Dec 2022 14:47:33 +0100 Subject: [PATCH] Fix test --- tests/testthat/test-check_file_exists.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))