diff --git a/tests/tests.R b/tests/tests.R index bd454787..2431f8cc 100644 --- a/tests/tests.R +++ b/tests/tests.R @@ -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))