Skip to content

Commit

Permalink
Skip the correct tests on Windows
Browse files Browse the repository at this point in the history
The ones that actually fail.
  • Loading branch information
gaborcsardi committed Mar 31, 2024
1 parent da1c65d commit 95ba3aa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testthat/test-kill-tree.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ test_that("kill_tree", {
test_that("kill_tree with children", {
skip_on_cran()
skip_if_no_ps()
# temporarily
if (getRversion() >= "4.0.0" && is_windows()) {
skip("Fails on Windows & new R")
}

tmp <- tempfile()
on.exit(unlink(tmp), add = TRUE)
Expand Down Expand Up @@ -111,10 +115,6 @@ test_that("kill_tree with children", {
test_that("kill_tree and orphaned children", {
skip_on_cran()
skip_if_no_ps()
# temporarily
if (getRversion() >= "4.0.0" && is_windows()) {
skip("Fails on Windows & new R")
}

tmp <- tempfile()
on.exit(unlink(tmp), add = TRUE)
Expand Down

0 comments on commit 95ba3aa

Please sign in to comment.