diff --git a/tests/testthat/test-marginaleffects.R b/tests/testthat/test-marginaleffects.R index 1f5fe7642..fa5463d35 100644 --- a/tests/testthat/test-marginaleffects.R +++ b/tests/testthat/test-marginaleffects.R @@ -26,7 +26,7 @@ withr::with_environment( ) expect_true(all(c("term", "contrast") %in% colnames(results))) - expect_equal(results[setdiff(colnames(results), c("term", "contrast"))], + expect_equal(results[setdiff(colnames(results), c("term", "contrast", "am"))], results_draws[setdiff(colnames(results_draws), "Parameter")], ignore_attr = TRUE )