Skip to content

Commit

Permalink
Merge pull request #1246 from MichaelChirico/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Aug 28, 2022
1 parent db2be2c commit cd20d0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-tribble.R
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,15 @@ test_that("names stripped at appropriate time (#775)", {
})

test_that("lubridate::Period (#784)", {
skip_if_not_installed("lubridate")
expect_equal(
tribble(~x, lubridate::days(1), lubridate::days(2)),
tibble(x = lubridate::days(1:2))
)
})

test_that("formattable (#785)", {
skip_if_not_installed("formattable")
expect_equal(
tribble(~x, formattable::formattable(1.0, 1), formattable::formattable(2.0, 1)),
tibble(x = formattable::formattable(1:2 + 0, 1))
Expand Down

0 comments on commit cd20d0b

Please sign in to comment.