Skip to content

Commit

Permalink
Update test-ebirdchecklist.R
Browse files Browse the repository at this point in the history
Adding test and line @spardo
  • Loading branch information
RichardLitt authored Nov 24, 2024
1 parent aba9865 commit 0c646ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-ebirdchecklist.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ vcr::use_cassette("ebirdchecklist", {
# Returns exoticCategory or doesn't, depending on whether it is in the checklist
expect_true('exoticCategory' %in% colnames(out1))
expect_false('exoticCategory' %in% colnames(out2))
# Tests to make sure the the column number has changed. Can help us catch API changes, too.
expect_equal(ncol(out1), ncol(out2) + 1)


})
Expand Down

0 comments on commit 0c646ab

Please sign in to comment.