Skip to content

Commit 1fea241

Browse files
committed
switch one test
1 parent a18a735 commit 1fea241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ for (i in c(100:103, 200:208, 226, 300:308, 400:426, 428:431, 451, 500:511))
456456
nanotest(is.character(status_code(i)))
457457

458458
s <- tryCatch(stream(dial = "wss://echo.websocket.events/", textframes = TRUE), error = function(e) NULL)
459-
if (is_nano(s)) {
459+
is_nano(s) && {
460460
nanotestnn(recv(s, block = 500L))
461461
nanotest(is.character(opt(s, "ws:response-headers")))
462462
nanotesterr(opt(s, "ws:request-headers") <- "test\n", 24)

0 commit comments

Comments
 (0)