From 1bf2cee9636f16a6b5b2930129cbb547bb5dd59c Mon Sep 17 00:00:00 2001 From: kartikeya kirar Date: Fri, 15 Sep 2023 17:15:04 +0530 Subject: [PATCH] Update tests/testthat/test-utils.R MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: André Veríssimo <211358+averissimo@users.noreply.github.com> Signed-off-by: kartikeya kirar --- tests/testthat/test-utils.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-utils.R b/tests/testthat/test-utils.R index 47867284..4ec414a7 100644 --- a/tests/testthat/test-utils.R +++ b/tests/testthat/test-utils.R @@ -17,7 +17,7 @@ testthat::test_that("Test to_flextable: unsupported class", { expect_error(to_flextable(unsupported_data), "Unsupported class") }) -test_that("custom theme to flextable", { +test_that("custom_theme to flextable", { sample_ft <- flextable::qflextable(head(mtcars)) themed_ft <- custom_theme(sample_ft) expect_is(themed_ft, "flextable")