# see the files in tests/testthat/core: There is an input and an expected output version.
# tests fail if the output of the style transformation is not equal to the expected output
# also see `help('styler:::test_collection', 'styler')`
test_that("line break for multi-line function declaration", {
expect_warning(styler:::test_collection("core", "drop-comments",
transformer = style_text,
), NA)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.