Skip to content

Commit bec243d

Browse files
committed
modification to prior changes
1 parent d2f44f4 commit bec243d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/testthat/test-format_ae_forestly.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ test_that("Set `display` to ('diff', 'total') without ('n', 'prop') columns", {
6565

6666
# expect_named(ae_frm, c("n", "prop", "total"))
6767
expect_named(ae_frm)
68-
expect_true("diff" %in% names(ae_frm))
69-
expect_false("total" %in% names(ae_frm))
68+
expect_true("diff" %in% ae_frm$display[1])
69+
expect_true("total" %in% ae_frm$display[2])
7070
})
7171

7272
test_that("1. Set `display` to ('n', 'prop', 'total', 'diff') and change column width using argument

0 commit comments

Comments
 (0)