Skip to content

Commit

Permalink
Correct testing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
billdenney committed Nov 28, 2022
1 parent 06be66b commit d0f1b8d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/testthat/test-date_conversion.R
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ test_that("make_dy", {
c(-1L, 1L, 2L, NA_integer_)
)
expect_error(
make_dy(c("2022-01-02", "2022-01-03", "2022-01-04", NA), c("2022-01-03", "2022-01-04")),
c(-1L, 1L, 2L, NA_integer_)
make_dy(c("2022-01-02", "2022-01-03", "2022-01-04", NA), c("2022-01-03", "2022-01-04"))
)
expect_equal(
make_dy(c("2022-01-02", "2022-01-03", "2022-01-04", NA), rep(c("2022-01-03", "2022-01-04"), each = 2)),
Expand Down

0 comments on commit d0f1b8d

Please sign in to comment.