Skip to content

Commit

Permalink
Aplpy #86 to a test file
Browse files Browse the repository at this point in the history
  • Loading branch information
damianooldoni committed Sep 8, 2022
1 parent 8d4d07c commit c1229c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testthat/test-output_gbif_get_taxa_limit_warnings.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
context("output_get_taxa_limit_warnings")

testthat::test_that("checklist is character, limit higher than n. of records", {
expect_warning(
testthat::expect_warning(
gbif_get_taxa(
checklist_keys = "e2a2c3f4-60e5-4724-8bb8-4b0618fbd9df",
limit = 500
Expand All @@ -13,7 +13,7 @@ testthat::test_that("checklist is character, limit higher than n. of records", {
testthat::test_that(
paste("checklist is vector,",
"limit higher than n. of records in all datasets"), {
expect_warning(
testthat::expect_warning(
gbif_get_taxa(
checklist_keys = c(
"46261ec5-38e8-44c9-b8e9-edaddf99fa29",
Expand All @@ -28,7 +28,7 @@ testthat::test_that(
testthat::test_that(
paste("checklist is vector, limit higher than n. of records",
"in one of the datasets"), {
expect_warning(
testthat::expect_warning(
gbif_get_taxa(
checklist_keys = c(
"68f76539-8e5c-4967-a480-14d2d8e46637",
Expand All @@ -43,7 +43,7 @@ testthat::test_that(


testthat::test_that("taxon_key is vector, limit higher than n. of records", {
expect_warning(
testthat::expect_warning(
gbif_get_taxa(
taxon_keys = c(1, 2, 3, 4, 5),
limit = 500
Expand Down

0 comments on commit c1229c5

Please sign in to comment.