Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Oct 10, 2024
1 parent b45a517 commit f820ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-row_count.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ test_that("row_count, errors or messages", {
expect_error(expect_warning(row_count(iris, select = "abc")), regex = "must be a valid")
expect_error(expect_warning(row_count(iris, select = "abc", count = 3)), regex = "No columns")
expect_error(row_count(iris[1], count = 3), regex = "with at least")
expect_error(row_count(d_mn[-c(1:4), , drop = FALSE], count = 2), regex = "one row")
expect_error(row_count(iris[-seq_len(nrow(iris)), , drop = FALSE], count = 2), regex = "one row")
})

test_that("row_count, exact match", {
Expand Down

0 comments on commit f820ffa

Please sign in to comment.