diff --git a/tests/tests.R b/tests/tests.R index c708bf897..a96faa761 100644 --- a/tests/tests.R +++ b/tests/tests.R @@ -565,7 +565,8 @@ nanotestz(close(s)) if (requireNamespace("promises", quietly = TRUE)) { nanotestaio(n <- ncurl_aio("https://postman-echo.com/get")) nanotest(tryCatch(promises::is.promise(promises::then(n, cat)), error = function(e) TRUE)) - nanotest(promises::is.promise(promises::as.promise(call_aio(n)))) + nanotest(promises::is.promising(n)) + nanotest(promises::is.promise(promises::as.promise(call_aio(ncurl_aio("https://postman-echo.com/get"))))) later::run_now() } if (Sys.info()[["sysname"]] == "Linux") {