We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2f44f4 commit bec243dCopy full SHA for bec243d
1 file changed
tests/testthat/test-format_ae_forestly.R
@@ -65,8 +65,8 @@ test_that("Set `display` to ('diff', 'total') without ('n', 'prop') columns", {
65
66
# expect_named(ae_frm, c("n", "prop", "total"))
67
expect_named(ae_frm)
68
- expect_true("diff" %in% names(ae_frm))
69
- expect_false("total" %in% names(ae_frm))
+ expect_true("diff" %in% ae_frm$display[1])
+ expect_true("total" %in% ae_frm$display[2])
70
})
71
72
test_that("1. Set `display` to ('n', 'prop', 'total', 'diff') and change column width using argument
0 commit comments