Skip to content

Commit

Permalink
add test for NA_character_ (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbarbone committed May 10, 2024
1 parent a6e2a27 commit 8cf3a7b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testthat/test-list.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ test_that("handles names [#25]", {
exp <- list(a = 1, 2, c = 3)
expect_identical(obj, exp)
})

test_that("handles NA_character_ [#60]", {
expect_identical(lst(NA_character_), list(NA_character_))
})

0 comments on commit 8cf3a7b

Please sign in to comment.