Skip to content

Commit 4300baa

Browse files
committed
Suppress a redundant warning
1 parent 4de0fff commit 4300baa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test_crs.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ test_that("st_crs works", {
1717
expect_silent(st_crs(nc1) <- st_crs(nc1))
1818

1919
if (sf_extSoftVersion()[["GDAL"]] > "2.2.3") {
20-
expect_error(st_crs("+proj=ll"), "invalid crs")
20+
suppressWarnings(expect_error(st_crs("+proj=ll"), "invalid crs"))
2121
# expect_error(st_crs("+proj=longlat +datum=NAD26"))
2222
}
2323
expect_silent(st_crs("+proj=longlat"))

0 commit comments

Comments
 (0)