test_that("parse errors become custom errors", {
testthat::expect_error(
parse_database("bad", "bad", "bad"),
class = "dbiconf_parse_error"
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.