Skip to content

Commit

Permalink
Merge pull request #505 from MichaelChirico/patch-1
Browse files Browse the repository at this point in the history
- Skip test that requires lubridate if it's not installed (#505, @MichaelChirico).
  • Loading branch information
krlmlr authored Feb 3, 2022
2 parents 219e62e + 579dbb5 commit 4a46158
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-format_lubridate.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
test_that("can output durations", {
skip_if_not_installed("lubridate")
expect_snapshot({
pillar(lubridate::as.duration(1:3))
})
Expand Down

0 comments on commit 4a46158

Please sign in to comment.