diff --git a/tests/testthat/test-viridis.R b/tests/testthat/test-viridis.R index e0490e8..64bc730 100644 --- a/tests/testthat/test-viridis.R +++ b/tests/testthat/test-viridis.R @@ -1,15 +1,9 @@ context("scales") test_that("scales work correctly", { - fill_scale <- scale_fill_viridis(option = "A") - expect_equal(fill_scale$scale_name, "gradientn") - fill_scale <- scale_fill_viridis(option = "A", discrete = TRUE) expect_equal(fill_scale$is_discrete(), TRUE) - color_scale <- scale_color_viridis(option = "A") - expect_equal(color_scale$scale_name, "gradientn") - color_scale <- scale_color_viridis(option = "A", discrete = TRUE) expect_equal(color_scale$is_discrete(), TRUE)