Skip to content

Commit

Permalink
extra lines
Browse files Browse the repository at this point in the history
raied by @BlairCooper in #501
  • Loading branch information
wibeasley committed Jul 15, 2023
1 parent 982662b commit de881e3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/testthat/test-metadata-utilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ test_that("checkbox choices -digits", {
"1, American Indian/Alaska Native| -2, Asian| 3, Native Hawaiian or Other Pacific Islander| 4, Black or African American| 5, White| 66, Unknown / Not Reported" |>
checkbox_choices() |>
expect_equal(ds_expected, label = "no trailing spaces:")

# extra lines
"| | 1, American Indian/Alaska Native | | | -2, Asian | 3, Native Hawaiian or Other Pacific Islander | 4, Black or African American | 5, White | 66, Unknown / Not Reported | | | " |>
checkbox_choices() |>
expect_equal(ds_expected, label = "extra lines:")
})

test_that("checkbox choices -letters", {
Expand Down

0 comments on commit de881e3

Please sign in to comment.