diff --git a/tests/testthat/test-estimate_secondary.R b/tests/testthat/test-estimate_secondary.R index 3a6b6b26a..d4c64e948 100644 --- a/tests/testthat/test-estimate_secondary.R +++ b/tests/testthat/test-estimate_secondary.R @@ -214,7 +214,7 @@ test_that("estimate_secondary works with filter_leading_zeros set", { ) expect_s3_class(out, "estimate_secondary") expect_named(out, c("predictions", "posterior", "data", "fit")) - expect_equal(out$predictions$primary, modified_data$primary) + expect_equal(out$predictions$primary, modified_data$primary[-(1:10)]) }) test_that("estimate_secondary works with zero_threshold set", {