Skip to content

Commit

Permalink
Fix integration for version 6.4 (#754)
Browse files Browse the repository at this point in the history
* adding newlines support for footers and titles

* small fix

* fix

* I will readd the nl empties here but there is a workaround simple

* fix integration tests for version 6.4
  • Loading branch information
Melkiades authored Oct 18, 2023
1 parent c63e863 commit 8d4f2a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/setup-fakedata.R
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ make_big_lyt <- function() {
export_fact <- function() {
tbl2 <- NULL
function() {
if(is.null(tbl2)) {
if (is.null(tbl2)) {
lyt <- basic_table() %>%
split_cols_by("ARM") %>%
split_cols_by("SEX", split_fun = keep_split_levels(c("M", "F"))) %>%
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-pagination.R
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ test_that("Pagination works with non-default min_siblings", {

expect_error(
paginate_table(tt, lpp = 3, min_siblings = 1),
"Unable to find any valid pagination between 1 and 1"
"Unable to find any valid pagination split between rows 1 and 1"
)
})

Expand Down

0 comments on commit 8d4f2a7

Please sign in to comment.