Skip to content

Commit e39a0f6

Browse files
committed
Update tests
1 parent 927ac5e commit e39a0f6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/tests.R

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,7 @@ test_class("recvAio", cs <- request(.context(req$socket), data = TRUE, cv = NA))
298298
test_notnull(cs$data)
299299
test_true(recv(ctxn, block = 500))
300300
test_zero(send(ctxn, TRUE, mode = 1L, block = 500))
301-
test_class("recvAio", cs <- request(.context(req$socket), data = TRUE, timeout = 5, id = 12L))
302-
test_equal(5L, cs[])
303-
test_identical(c(0L, 12L), recv(ctxn, mode = 5L, block = 500))
301+
test_equal(5L, request(.context(req$socket), data = TRUE, timeout = 5, id = 12L)[])
304302
test_zero(reap(ctxn))
305303
test_equal(reap(ctxn), 7L)
306304
test_zero(pipe_notify(rep, cv, add = TRUE, flag = TRUE))

0 commit comments

Comments
 (0)