Skip to content

Commit

Permalink
intentionally break a visual test (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Jun 21, 2021
1 parent aa44563 commit a4e306c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-ggplot-legend.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ p <- ggplot(mtcars, aes(x = mpg, y = wt, color = factor(vs), shape = factor(cyl)
geom_point()

test_that("Discrete colour and shape get merged into one legend", {
info <- expect_doppelganger_built(p, "scatter_legend")
info <- expect_doppelganger_built(p + theme_bw(), "scatter_legend")
expect_equivalent(length(info$data), 5)
expect_true(info$layout$showlegend)
# 5 legend entries
Expand Down

0 comments on commit a4e306c

Please sign in to comment.