Skip to content

Commit

Permalink
fix test; #1146
Browse files Browse the repository at this point in the history
  • Loading branch information
edzer committed Nov 29, 2019
1 parent 006b5b8 commit 8ca18be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_crs.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test_that("st_crs works", {
expect_equal(st_crs(nc2)[1:2], crs_4267[1:2])
expect_equal(st_crs(nc3), NA_crs_)
expect_equal(st_set_crs(nc3, 4267) %>% st_crs, crs_4267)
expect_equal(nc1[1:2], nc2[1:2])
expect_equal(st_crs(nc1)[1:2], st_crs(nc2)[1:2])

expect_warning(st_crs(nc2) <- 3857, "replacing crs does not reproject data")
expect_silent(st_crs(nc2) <- 3857)
Expand Down

0 comments on commit 8ca18be

Please sign in to comment.