We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fa2491 commit 77048b3Copy full SHA for 77048b3
tests/testthat/test-utils.R
@@ -58,4 +58,9 @@ test_that("check_is_cachable can handle both str and date inputs of various leng
58
epidata_call$params$as_of <- NULL
59
epidata_call$params$issues <- c(as.Date("2022-01-01"), as.Date("2022-02-01"))
60
expect_no_error(check_is_cachable(epidata_call, fetch_args))
61
+
62
+ # issues epirange
63
+ epidata_call$params$as_of <- NULL
64
+ epidata_call$params$issues <- epirange(as.Date("2022-01-01"), as.Date("2022-02-01"))
65
+ expect_no_error(check_is_cachable(epidata_call, fetch_args))
66
})
0 commit comments