Skip to content

Commit

Permalink
tests: fix test failiure
Browse files Browse the repository at this point in the history
`file_path_sans_ext(name)` gets rid of the extension
this must be handled inside tests correctly
  • Loading branch information
ilyaZar committed Nov 29, 2023
1 parent 9b5b098 commit fc86051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-use_files.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test_that("use_external_XXX_files() function family works properly", {
url = "https://raw.githubusercontent.com/ThinkR-open/golem/dev/inst/utils/testfile_template_plainfile.txt"
)
test_file_download <- readLines(
"inst/app/www/testfile_template_plainfile.txt"
"inst/app/www/testfile_template_plainfile"
)
expect_identical(
test_file_download,
Expand Down

0 comments on commit fc86051

Please sign in to comment.