Skip to content

Commit

Permalink
test with profile
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau committed Nov 15, 2024
1 parent 5e096d9 commit 03b4145
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test-tar_quarto_files.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ targets::tar_test("tar_quarto_files() project", {
skip_on_cran()
skip_quarto()
fs::dir_create("x")
on.exit(unlink("x", recursive = TRUE))
lines <- c(
"project:",
" type: book",
Expand Down Expand Up @@ -55,7 +56,7 @@ targets::tar_test("tar_quarto_files() project", {
"```"
)
writeLines(lines, file.path("x", "r2.qmd"))
info <- tar_quarto_files("x")
info <- tar_quarto_files("x", profile = "example_profile")
if (identical(tolower(Sys.info()[["sysname"]]), "windows")) {
expect_equal(
sort(basename(info$sources)),
Expand Down

0 comments on commit 03b4145

Please sign in to comment.