Skip to content

Commit

Permalink
Fix CI failure on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Dec 11, 2024
1 parent c986c2e commit a523e37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/helper-apps.R
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ transform_tempdir <- function(x) {
fixed = TRUE
)
x <- sub("[\\\\/]file[a-zA-Z0-9]+", "/<tempfile>", x)
x <- sub("[A-Z]:.*Rtmp[a-zA-Z0-9]+/", "<tempdir>/", x)
x <- sub("[A-Z]:.*Rtmp[a-zA-Z0-9]+[\\\\/]", "<tempdir>/", x)
x
}

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-scan-deps-queries.R
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ test_that("q_deps_rmd_inline", {
local_reproducible_output(width = 500)

code <- code_query(
file = test_path("fixtures/scan/inline-chunks.Rmd"),
readLines(test_path("fixtures/scan/inline-chunks.Rmd")),
query = q_deps_rmd(),
language = "markdown"
)[["matched_captures"]]
Expand Down

0 comments on commit a523e37

Please sign in to comment.