tests/testthat/test-sp_shell.R

test_that("sp_shell()", {
  expect_snapshot(sp_shell("<p:ph/>"))

  expect_snapshot(error = TRUE, sp_shell("<ph/>"))
  expect_snapshot(error = TRUE, sp_shell("<ph/"))
})

Try the polish package in your browser

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

polish documentation built on June 3, 2026, 5:07 p.m.