Skip to content

Commit

Permalink
Add test to check for expected element introduced
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmbaazam committed Sep 24, 2024
1 parent 35f0fc2 commit ba50dc2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/testthat/test-checks.R
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,18 @@ test_that("check_na_setting_against_data works as expected", {
data = example_confirmed
)
)
expect_identical(
setdiff(
names(
obs_opts()
),
names(
check_na_setting_against_data(
obs = obs_opts(),
data = example_confirmed
)
)
),
"na_as_missing_default_used"
)
})

0 comments on commit ba50dc2

Please sign in to comment.