Skip to content

Commit 037c1b8

Browse files
committed
fix tests
1 parent 2db3d69 commit 037c1b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test-inspire_grid.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,11 @@ test_that("Function handles errors and edge cases", {
183183
# Invalid cell size
184184
expect_error(
185185
inspire_grid_from_extent(nc, 0, crs = TARGET_CRS),
186-
"cellsize_m must be a positive integer"
186+
"Argument 'cellsize_m' must be positive"
187187
)
188188
expect_error(
189189
inspire_grid_from_extent(nc, -100, crs = TARGET_CRS),
190-
"cellsize_m must be a positive integer"
190+
"Argument 'cellsize_m' must be positive"
191191
)
192192

193193
# Invalid CRS (geographic)

0 commit comments

Comments
 (0)