Skip to content

Commit

Permalink
expect_identical to expect_equal
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyclements committed May 1, 2024
1 parent 9e697be commit 6ed677a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-airport_finder.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ test_that("correct output", {
expect_equal(finder_typo$City, "Exeter")
expect_equal(finder_typo$IATA, "EXT")
expect_equal(finder_port$Name, "Las Heras Airport")
expect_identical(length(airport_finder(city = "Nairobi")), 4)
expect_equal(class(airport_finder(city = "Nairobi")), c("tbl_df", "tbl", "data.frame"))
})

0 comments on commit 6ed677a

Please sign in to comment.