Skip to content

Commit 750617a

Browse files
committed
fix
1 parent 7b86985 commit 750617a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/testthat/test-as_flextable.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ test_that("grouped_data", {
5454
ft <- as_flextable(data_co2)
5555
expect_equal(
5656
information_data_chunk(ft)$txt[seq_len(9)],
57-
c("conc", "Quebec", "Mississippi", "Treatment", ": ", "nonchilled", "", "", "95")
57+
c("conc", "Quebec", "Mississippi", "Treatment", ": ", "nonchilled", "", "", "")
5858
)
59+
expect_equal(information_data_chunk(ft)$txt[15], "95")
5960

6061
ft <- as_flextable(data_co2, hide_grouplabel = TRUE)
6162
expect_equal(
@@ -87,7 +88,7 @@ test_that("glm and lm", {
8788
ft <- as_flextable(lmod)
8889
expect_equal(
8990
information_data_chunk(ft)$txt[5],
90-
"Pr(>|z|)"
91+
"Pr(>|t|)"
9192
)
9293
expect_equal(
9394
information_data_chunk(ft)$txt[44],

0 commit comments

Comments
 (0)