Navigation Menu

Skip to content

Commit

Permalink
Workaround for Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Jan 9, 2019
1 parent d993ab6 commit 94d8ec8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-handle.R
Expand Up @@ -17,6 +17,7 @@ test_that("Redirect", {
test_that("Cookies", {
expect_equal(curl_fetch_memory(httpbin("cookies/set?foo=123&bar=456"), handle = h)$status, 200)
expect_equal(jsonlite::fromJSON(rawToChar(curl_fetch_memory(httpbin("cookies"), handle = h)$content))$cookies$bar, "456")
if(curl::curl_version()$version == "7.62.0") Sys.sleep(1) #workaround for curl bug #3351
expect_equal(curl_fetch_memory(httpbin("cookies/delete?bar"), handle = h)$status, 200)
expect_null(jsonlite::fromJSON(rawToChar(curl_fetch_memory(httpbin("cookies"), handle = h)$content))$cookies$bar)
})
Expand Down

0 comments on commit 94d8ec8

Please sign in to comment.