From 78da6e0ddaa4c16714567a65b97f99867f89bd83 Mon Sep 17 00:00:00 2001 From: raisin-toast <73819156+raisin-toast@users.noreply.github.com> Date: Thu, 29 Dec 2022 13:09:51 +1100 Subject: [PATCH] additional test --- tests/testthat/test-grattan_colours.R | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/testthat/test-grattan_colours.R b/tests/testthat/test-grattan_colours.R index 4f5fdbee..5ccc1ce8 100644 --- a/tests/testthat/test-grattan_colours.R +++ b/tests/testthat/test-grattan_colours.R @@ -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)