Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Something must have changed with factors between v4.0.1 and now...
  • Loading branch information
Moohan committed Nov 14, 2024
1 parent 2fe5a2a commit 29f88f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/testthat/test-parse_row_filters.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ test_that("throws error for bad types", {
regexp = " must be a named .+? not a "
)
expect_error(
parse_row_filters(c(x = factor(1))),
parse_row_filters(c(x = NA)),
regexp = " must be a named .+? not a "
)
expect_error(
parse_row_filters(c(x = as.Date("2000-01-01"))),
regexp = " must be a named .+? not a "
)
})
Expand Down

0 comments on commit 29f88f5

Please sign in to comment.