Skip to content

Commit

Permalink
Merge branch 'main' into 328-complete_ald_deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhoffa authored Feb 7, 2024
2 parents f5593d5 + 3bfd070 commit 067f833
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/testthat/test-data_dictionary.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ test_that("defines all its names", {

test_that("includes suffix _demo", {
dd <- data_dictionary$dataset
expect_true("loanbook_demo" %in% dd)
datasets <- enlist_datasets("r2dii.data")

for (dataset in grep("_demo$", names(datasets), value = TRUE)) {
expect_true(dataset %in% dd)
}
})

test_that("outputs as many rows per `dataset` as columns in `dataset`", {
Expand Down

0 comments on commit 067f833

Please sign in to comment.