Skip to content

Commit 79e0ded

Browse files
committed
include different ticks in pre-existing test
1 parent 8d5d7b9 commit 79e0ded

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/testthat/_snaps/guide-colorbar/customized-colorbar.svg

Lines changed: 5 additions & 5 deletions
Loading

tests/testthat/test-guide-colorbar.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ test_that("colorbar can be styled", {
7878
theme = theme(
7979
legend.frame = element_rect(colour = "green", linewidth = 1.5 / .pt),
8080
legend.ticks = element_line("black", linewidth = 2.5 / .pt),
81-
legend.ticks.length = unit(0.4, "npc")
81+
legend.ticks.length = unit(c(0.2, 0.4), "npc")
8282
), alpha = 0.75
8383
)
8484
) + labs(subtitle = "white-to-red semitransparent colorbar, long thick black ticks, green frame")

0 commit comments

Comments
 (0)