Skip to content

Commit

Permalink
update estimate_infections test error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Feb 2, 2024
1 parent d75646e commit c786c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-estimate_infections.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ test_that("estimate_infections fails as expected when given a very short timeout
out <- default_estimate_infections(
reported_cases,
add_stan = list(future = TRUE, max_execution_time = 1)
))), "all chains failed")
))), "not contain samples")
expect_error(output <- capture.output(suppressMessages(
out <- default_estimate_infections(
reported_cases,
Expand Down

0 comments on commit c786c15

Please sign in to comment.