Skip to content

Commit

Permalink
additional test
Browse files Browse the repository at this point in the history
  • Loading branch information
raisin-toast committed Dec 29, 2022
1 parent a6d1f95 commit 78da6e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-grattan_colours.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ p <- base_plot + theme_grattan()
test_that("grattan colour functions work as expected", {

expect_length(make_grattan_pal()(6), 6)
expect_length(make_grattan_pal(reverse = TRUE)(6), 6)
expect_length(make_grattan_pal(palette = "graph")(6), 6)
expect_length(make_grattan_pal(palette = "diverging")(6), 6)

Expand Down

0 comments on commit 78da6e0

Please sign in to comment.