Skip to content

Commit

Permalink
include linetype in one of the visual tests
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Oct 10, 2024
1 parent 840a8ec commit 5047cc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/testthat/test-geom-sf.R
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ test_that("geom_sf draws correctly", {
expect_error(regexp = NA, ggplot_build(plot))

expect_doppelganger("North Carolina county boundaries",
ggplot() + geom_sf(data = nc) + coord_sf(datum = 4326)
ggplot() + geom_sf(data = nc, linetype = 2) + coord_sf(datum = 4326)
)

pts <- sf::st_sf(a = 1:2, geometry = sf::st_sfc(sf::st_point(0:1), sf::st_point(1:2)))
Expand Down

0 comments on commit 5047cc0

Please sign in to comment.