Skip to content

Commit

Permalink
tests: fix render call
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgohel committed Mar 21, 2024
1 parent b3444ed commit 708f302
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-borders.R
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ test_that("pdf and office complex borders", {

# office complex borders
render(rmd_file,
output_format = word_document(),
output_format = "word_document",
output_file = docx_file,
envir = new.env(),
quiet = TRUE
Expand All @@ -118,7 +118,7 @@ test_that("pdf and office complex borders", {
doconv::expect_snapshot_doc(name = "docx-complex-borders", docx_file, engine = "testthat")

render(rmd_file,
output_format = powerpoint_presentation(),
output_format = "powerpoint_presentation",
output_file = pptx_file,
envir = new.env(),
quiet = TRUE
Expand Down

0 comments on commit 708f302

Please sign in to comment.