Skip to content

Commit 3e9f279

Browse files
Update tests/testthat/test-epidatacall.R
Co-authored-by: brookslogan <[email protected]>
1 parent 9790d8b commit 3e9f279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-epidatacall.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ test_that("fetch classic works", {
165165

166166
# make sure the return from this is a list
167167
fetch_out <- epidata_call %>% fetch()
168-
expect_true(is.list(fetch_out))
168+
expect_true(inherits(fetch_out, "list"))
169169
})
170170

171171
test_that("create_epidata_call basic behavior", {

0 commit comments

Comments
 (0)