Skip to content

Commit

Permalink
Add more testing for map data
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksanderbl29 committed Sep 22, 2024
1 parent 5fa9a58 commit dd33980
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testthat/_snaps/get_map_data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Get map data errs correctly

You have provided type `fisk` which is not compatible with this function.

4 changes: 4 additions & 0 deletions tests/testthat/test-get_map_data.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
test_that("Get map data errs correctly", {
expect_snapshot_error(get_map_data("fisk"))
expect_error(get_map_data("fisk"))
})

0 comments on commit dd33980

Please sign in to comment.