From a3d73c56479d52e817d05caecf39031442cd8d60 Mon Sep 17 00:00:00 2001 From: nsjohnsen Date: Mon, 8 Apr 2024 10:26:57 +0200 Subject: [PATCH] Adjusting snapshot value tolerance --- tests/testthat/test-demographics.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-demographics.R b/tests/testthat/test-demographics.R index 0937875..2776cdb 100644 --- a/tests/testthat/test-demographics.R +++ b/tests/testthat/test-demographics.R @@ -42,10 +42,10 @@ test_that("Demographics (categorical) work when strata is provided", { b[(missing_sex), N]) expect_snapshot_value(as.data.frame(actual_total), - tolerance = 1e-6, style = "json2") + tolerance = 1e-8, style = "json2") expect_snapshot_value(as.data.frame(actual_f), - tolerance = 1e-6, style = "json2") + tolerance = 1e-8, style = "json2") })