Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fmichonneau committed Jun 12, 2023
1 parent 6f9b62e commit 932b2a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-tnrs.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ test_that("object returned by tnrs_match_names have the correct data type", {
taxa <- tnrs_match_names(birds, do_approximate_matching = FALSE)
expect_true(is.logical(taxa[["approximate_match"]]))
expect_true(is.logical(taxa[["is_synonym"]]))
expect_equal(taxa[["score"]], 1)
expect_equal(sum(taxa[["score"]]), 3)
})

test_that("tnrs_match_names deals correctly with non-exact matches", {
Expand Down

0 comments on commit 932b2a0

Please sign in to comment.