Skip to content

Commit 1d7c5b9

Browse files
committed
no inside guide box if no inside guide legends
1 parent 7e156d0 commit 1d7c5b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-guides.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ test_that("empty guides are dropped", {
159159
guides <- p$plot$guides$draw(theme_gray(), direction = "vertical")
160160

161161
# All guide-boxes should be empty
162-
expect_equal(lengths(guides, use.names = FALSE), rep(0, 5))
162+
expect_equal(lengths(guides, use.names = FALSE), rep(0, 4))
163163
})
164164

165165
test_that("bins can be parsed by guides for all scale types", {

0 commit comments

Comments
 (0)