Skip to content

Commit

Permalink
update sim_linelist test regexp for updated .cross_check_sim_input msg
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlambert committed Jun 19, 2024
1 parent 164199b commit a9daafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-sim_linelist.R
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ test_that("sim_linelist fails when onset-to-event are given by risk is NA", {
onset_to_death = onset_to_death,
hosp_death_risk = NA
),
regexp = "(hosp_death_risk is set to NA but onset_to_death is specified)"
regexp = "(hosp_death_risk is set to NA but hosp_risk and onset_to_death)"
)
expect_error(
sim_linelist(
Expand Down

0 comments on commit a9daafe

Please sign in to comment.