Skip to content

Commit

Permalink
Adjusting snapshot value tolerance (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsjohnsen committed Apr 8, 2024
1 parent afd9c49 commit 60bfeea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-demographics.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")

})

Expand Down

0 comments on commit 60bfeea

Please sign in to comment.