Skip to content

Commit

Permalink
add tests for eq_get_links
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestguevarra committed Aug 18, 2024
1 parent c021cfe commit 3d29d70
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/testthat/test-eq_get.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ test_that("get_links function outputs are as expected", {
expect_vector(tab_list, ptype = character(), size = nrow(eq_data()))
})

tab_list <- eq_get_links(latest = FALSE)

test_that("get_links function outputs are as expected", {
expect_vector(tab_list, ptype = character())
})

tab_list <- eq_get_links(.year = 2018)

test_that("tables are of the correct structure", {
Expand Down

0 comments on commit 3d29d70

Please sign in to comment.