Skip to content

Commit

Permalink
Add unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maksymiuks committed May 25, 2023
1 parent b448cb8 commit f4b9e5a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/testthat/test-rd2markdown-item.R
Original file line number Diff line number Diff line change
@@ -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, " * ")
})

0 comments on commit f4b9e5a

Please sign in to comment.