Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
willgearty committed Jul 30, 2024
1 parent 5476f15 commit 72b2d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-geom_phylopic.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ test_that("geom_phylopic works", {
# Errors and warnings
gg <- ggplot(df) +
geom_phylopic(aes(x = x, y = y, uuid = uuid), size = 5)
expect_deprecated(plot(gg))
lifecycle::expect_deprecated(plot(gg))
gg <- ggplot(df) +
geom_phylopic(aes(x = x, y = y, uuid = uuid), alpha = -5)
expect_error(plot(gg))
Expand Down

0 comments on commit 72b2d24

Please sign in to comment.