diff --git a/tests/testthat/test-delays.R b/tests/testthat/test-delays.R index 650c2b76c..4fba2ef78 100644 --- a/tests/testthat/test-delays.R +++ b/tests/testthat/test-delays.R @@ -79,7 +79,7 @@ test_that("truncation parameters can be specified in different ways", { test_that("distributions incompatible with stan models are caught", { expect_error(gt_opts( - Gamma(2, 2), tolerance = 0 + Gamma(2, 2), default_tolerance = 0 ), "maximum") expect_error(delay_opts( Normal(2, 2, max = 10)