Skip to content

Commit

Permalink
fix a test
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau committed Dec 24, 2024
1 parent bbbfe9b commit 707d8ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-tar_quarto_files.R
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ targets::tar_test("tar_quarto_files() detects nested dependencies", {
out <- tar_quarto_files("report/")
if (identical(tolower(Sys.info()[["sysname"]]), "windows")) {
expect_equal(
basename(out$sources),
sort(basename(out$sources)),
sort(
c("main.qmd", "text1.qmd", "text2.qmd")
)
Expand All @@ -136,7 +136,7 @@ targets::tar_test("tar_quarto_files() detects nested dependencies", {
expect_equal(basename(out$input), "_quarto.yml")
} else {
expect_equal(
out$sources,
sort(out$sources),
sort(
c(
file.path("report", c("main.qmd", "text1.qmd")),
Expand Down

0 comments on commit 707d8ac

Please sign in to comment.