Skip to content

Commit 364412d

Browse files
committed
update one test
1 parent 2d21925 commit 364412d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ nanotestn(call_aio(recv_aio(ctx, mode = 1L, timeout = 500))[["value"]])
212212
nanotestaio(saio <- send_aio(ctx, as.raw(1L), mode = 2L, timeout = 500))
213213
nanotest(identical(req$recv(mode = 8L, block = 500), as.raw(1L)))
214214
nanotestaio(rek <- request(req$context, c(1+3i, 4+2i), send_mode = 2L, recv_mode = "complex", timeout = 500))
215-
nanotestaio(set_promise_context(rek, new.env()))
216215
nanotest(is.integer(reply(ctx, execute = identity, recv_mode = 3L, send_mode = "ra", timeout = 500)))
217216
nanotest(is.complex(call_aio(rek)[["data"]]))
218217
nanotestaio(rek <- request(req$context, c(1+3i, 4+2i), send_mode = "next", recv_mode = "serial", timeout = 500))
@@ -518,6 +517,7 @@ nanotestp(unres)
518517
nanotest(identical(call_aio("a"), "a"))
519518
nanotest(identical(call_aio_("a"), "a"))
520519
nanotestn(stop_aio("a"))
520+
nanotest(is.environment(set_promise_context(new.env(), new.env())))
521521

522522
nanotest(base64enc("test") == "dGVzdA==")
523523
nanotest(base64dec(base64enc("test")) == "test")

0 commit comments

Comments
 (0)