Skip to content

Commit ac49ec2

Browse files
authored
Merge pull request #2518 from MichaelChirico/patch-1
Weaken test for case of missing driver
2 parents f8683db + 3cce72d commit ac49ec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-read.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ test_that("guess_driver_can_write", {
141141

142142
test_that("driver operations", {
143143
# These tests are driver specifics to GDAL version and OS.
144-
expect_error(guess_driver_can_write("x.e00"), "cannot write")
144+
expect_error(guess_driver_can_write("x.e00"), "AVCE00 driver not available|cannot write")
145145
# expect_error(guess_driver_can_write("x.gdb"), "cannot write") -> no longer the case when GDAL >= 3.6.0
146146

147147
expect_equal(guess_driver_can_write("x.geojson"), c("geojson" = "GeoJSON"))

0 commit comments

Comments
 (0)