Skip to content

Commit

Permalink
fix geojson_read test
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Aug 19, 2017
1 parent 015dd30 commit 4464c5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-geojson_read.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test_that("geojson_read works with file inputs", {
expect_is(aa$crs, "list")
expect_is(aa$features, "list")
expect_equal(aa$features[[1]]$type, "Feature")
expect_named(aa$features[[1]], c("type", "properties", "geometry"))
expect_named(aa$features[[1]], c("type", "_id", "properties", "geometry"))
expect_named(aa, c("type", "crs", "features"))
})

Expand All @@ -35,7 +35,7 @@ test_that("geojson_read works with as.location inputs", {
expect_is(aa$crs, "list")
expect_is(aa$features, "list")
expect_equal(aa$features[[1]]$type, "Feature")
expect_named(aa$features[[1]], c("type", "properties", "geometry"))
expect_named(aa$features[[1]], c("type", "_id", "properties", "geometry"))
expect_named(aa, c("type", "crs", "features"))
})

Expand Down

0 comments on commit 4464c5a

Please sign in to comment.