Skip to content

Commit 4ac627a

Browse files
committed
actually test the thing we say we're testing
1 parent db20254 commit 4ac627a

File tree

2 files changed

+71
-71
lines changed

2 files changed

+71
-71
lines changed

tests/testthat/_snaps/theme/horizontal-legends-placed-apart.svg

Lines changed: 70 additions & 70 deletions
Loading

tests/testthat/test-theme.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,6 @@ test_that("legends are placed correctly when using stretchy spacing", {
10701070

10711071
expect_doppelganger(
10721072
"horizontal legends placed apart",
1073-
p + theme(legend.position = "right", legend.spacing.y = unit(1, "null"))
1073+
p + theme(legend.position = "top", legend.spacing.x = unit(1, "null"))
10741074
)
10751075
})

0 commit comments

Comments
 (0)