Skip to content

Commit 32b626e

Browse files
Run visual tests only on v4
1 parent 1a4fd9d commit 32b626e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/testthat/test-vdiffr.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
test_that("gghighlight() highlights correctly", {
22
testthat::skip_if_not_installed("vdiffr")
33

4+
# no visual difference, but the SVG texts are incompatible after v4
5+
skip_if_not(
6+
utils::packageVersion("ggplot2") > "3.5.2.9000",
7+
)
8+
49
vdiffr::expect_doppelganger(
510
"simple bar chart",
611
ggplot(mpg, aes(class, fill = factor(cyl))) +

0 commit comments

Comments
 (0)