Skip to content

Commit 4f10fa0

Browse files
committed
Merge branch 'redesign@main' into teal_reportable
* redesign@main: tests: reflect new block element with title
2 parents 7c70953 + 4870485 commit 4f10fa0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/testthat/helper-Reporter.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ test_card1 <- function(title = NULL) {
3333
withr::with_environment(emptyenv(), plot <- ggplot2::ggplot(iris, ggplot2::aes(x = Petal.Length)) +
3434
ggplot2::geom_histogram(binwidth = 0.2))
3535
new_card <- doc("## Header 2 text", "A paragraph of default text", plot)
36+
new_card <- report_document("## Header 2 text", "A paragraph of default text", plot)
3637
if (!is.null(title)) metadata(new_card, "title") <- title
3738
new_card
3839
}

0 commit comments

Comments
 (0)