tests/testthat/test-request.R

test_that("parse_query", {
  expect_snapshot({
    parse_query("foo")
    parse_query("?foo")
    parse_query("?foo&bar")
    parse_query("?foo&bar=baz")
  })
})

Try the webfakes package in your browser

Any scripts or data that you put into this service are public.

webfakes documentation built on May 29, 2024, 2:24 a.m.