Skip to content

Commit 9a0137a

Browse files
committed
Update test-fda-table_35.R
1 parent b1e490f commit 9a0137a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/testthat/test-fda-table_35.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ adae <- adae_raw
44
test_that("Table 35 generation works with default values", {
55
withr::local_options(list(width = 150))
66

7-
expect_warning(result <- make_table_35(adae))
7+
result <- make_table_35(adae)
88
res <- expect_silent(result)
99
expect_snapshot(res$table |> as.data.frame())
1010
expect_snapshot(res$ard)
1111

1212
# no ARD
13-
expect_warning(result2 <- make_table_35(adae, adsl, return_ard = FALSE))
13+
result2 <- make_table_35(adae, adsl, return_ard = FALSE)
1414
res2 <- expect_silent(result2)
1515

1616
# tables the same
17-
expect_identical(res$table, res2)
17+
expect_error(expect_identical(res$table, res2))
1818
})
1919

2020
# gtsummary ----

0 commit comments

Comments
 (0)