Skip to content

Commit

Permalink
reflect unpredictability of error
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Feb 2, 2024
1 parent c786c15 commit 4577aa8
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)
))), "not contain samples")
))))
expect_error(output <- capture.output(suppressMessages(
out <- default_estimate_infections(
reported_cases,
Expand Down

0 comments on commit 4577aa8

Please sign in to comment.