Skip to content

Commit

Permalink
enable tests for all platforms
Browse files Browse the repository at this point in the history
Signed-off-by: Charlie Gao <[email protected]>
  • Loading branch information
shikokuchuo authored Dec 12, 2024
1 parent dfd0e6f commit 1d7c723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tests.R
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ connection && Sys.getenv("NOT_CRAN") == "true" && {
m <- mirai_map(1:10, function(x) { Sys.sleep(2); y <<- TRUE })
s <- stop_mirai(m)
test_equal(sum(unlist(m[])), 200L)
if (Sys.info()[["sysname"]] == "Linux") test_identical(s, !logical(10L))
if (Sys.info()[["sysname"]] == "Linux") test_class("errorValue", mirai(y)[])
test_identical(s, !logical(10L))
test_class("errorValue", mirai(y)[])
test_equal(status()$connections, 1L)
test_equal(length(nextget("urls")), 1L)
test_class("miraiLaunchCmd", launch_remote(1))
Expand Down

0 comments on commit 1d7c723

Please sign in to comment.