Skip to content

Commit

Permalink
Fix tests on Windows
Browse files Browse the repository at this point in the history
I think...
  • Loading branch information
gaborcsardi committed Apr 9, 2024
1 parent 8a4e176 commit 8aadd01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-platforms.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ test_that("get_platforms", {
)

plt <- get_platforms()
plt[[1]] <- sub("\r\n", "\n", plt[[1]], fixed = TRUE)
plt[[2]] <- sub("\r\n", "\n", plt[[2]], fixed = TRUE)
expect_snapshot({
cli::hash_obj_sha1(plt[[1]])
cli::hash_obj_sha1(plt[[2]])
Expand Down

0 comments on commit 8aadd01

Please sign in to comment.