diff --git a/tests/testthat/test-rd2markdown-item.R b/tests/testthat/test-rd2markdown-item.R new file mode 100644 index 0000000..767c683 --- /dev/null +++ b/tests/testthat/test-rd2markdown-item.R @@ -0,0 +1,5 @@ +test_that("rd2markdown item empty tag does not throw error", { + rd <- rawRd("\\itemize{\\item{}{}}") + expect_silent(md <- rd2markdown(rd)) + expect_equal(md, " * ") +})