Skip to content

Commit

Permalink
switch one test
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Aug 8, 2024
1 parent a18a735 commit 1fea241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests.R
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ for (i in c(100:103, 200:208, 226, 300:308, 400:426, 428:431, 451, 500:511))
nanotest(is.character(status_code(i)))

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

0 comments on commit 1fea241

Please sign in to comment.