diff --git a/tests/testthat/test-estimate_infections.R b/tests/testthat/test-estimate_infections.R index e43f9e8fa..3b3c0ee80 100644 --- a/tests/testthat/test-estimate_infections.R +++ b/tests/testthat/test-estimate_infections.R @@ -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) - ))), "not contain samples") + )))) expect_error(output <- capture.output(suppressMessages( out <- default_estimate_infections( reported_cases,