From 321da2c59152a5438bf9f55838df28befc494639 Mon Sep 17 00:00:00 2001 From: Charlie Gao <53399081+shikokuchuo@users.noreply.github.com> Date: Fri, 13 Dec 2024 15:20:23 +0900 Subject: [PATCH] swap tests Signed-off-by: Charlie Gao <53399081+shikokuchuo@users.noreply.github.com> --- tests/tests.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))