Skip to content

Commit 9991c2e

Browse files
committed
fix hoverinfo test expectation
1 parent 1eb3079 commit 9991c2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-ggplot-sf.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ test_that("geom_sf() polygons with fill/text.", {
5454
# one trace for every fillcolor, one for graticule, one for colorbar
5555
expect_length(l$data, length(unique(nc$AREA)) + 2)
5656
expect_true(
57-
all(unlist(lapply(l$data, "[[", "hoverinfo")) %in% c("none", "text"))
57+
all(unlist(lapply(l$data, "[[", "hoverinfo")) %in% c("skip", "none", "text"))
5858
)
5959
# graticule styling should inherit from panel.grid.major
6060
expect_equivalent(

0 commit comments

Comments
 (0)