Skip to content

Commit

Permalink
Fix a windows test case
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Oct 26, 2022
1 parent 2df25bc commit ddffb18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test-windows.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ test_that("terminal", {

test_that("total and available mem", {
l <- .Call(ps__system_memory)[c("total", "avail")]
expect_that(is.numeric(l$total))
expect_that(is.numeric(l$avail))
expect_true(is.numeric(l$total))
expect_true(is.numeric(l$avail))
expect_lte(l$avail, l$total)
})
})

0 comments on commit ddffb18

Please sign in to comment.