Skip to content

Commit

Permalink
test warn_meta_changes
Browse files Browse the repository at this point in the history
  • Loading branch information
larann901 committed Sep 25, 2024
1 parent 53c1b09 commit 5b63381
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-warn_meta_changes.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ meta_data <- data.frame(columnName = c('"consent_yesno"', '"slider_happy"'),
typeQuestion_mixed = c(0,0),
typeAnswer_mixed = c(0,0))

meta_data$columnName <- as.character(meta_data$columnName)

test_that('no warnings are printed', {

expect_no_warning(mpathr:::warn_meta_changes(meta_data))
Expand Down

0 comments on commit 5b63381

Please sign in to comment.