Skip to content

Commit

Permalink
test: Add test for ndjson error
Browse files Browse the repository at this point in the history
  • Loading branch information
MEO265 committed May 8, 2024
1 parent b7ebb4d commit ef0c036
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testthat/test-handlers.R
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,7 @@ test_that("stopifnot", {
})

cleanup()

test_that("split_ndjson error", {
expect_error(split_ndjson(3L), "Input must be a character vector.")
})

0 comments on commit ef0c036

Please sign in to comment.