Skip to content

Commit

Permalink
swap tests
Browse files Browse the repository at this point in the history
Signed-off-by: Charlie Gao <[email protected]>
  • Loading branch information
shikokuchuo authored Dec 13, 2024
1 parent d3fe06d commit 321da2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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)
test_identical(s, !logical(10L))
test_class("errorValue", mirai(y)[])
test_identical(s, !logical(10L))
test_equal(status()$connections, 1L)
test_equal(length(nextget("urls")), 1L)
test_class("miraiLaunchCmd", launch_remote(1))
Expand Down

0 comments on commit 321da2c

Please sign in to comment.