Skip to content

Commit

Permalink
Specify the now-required date_start argument in test-measures.R
Browse files Browse the repository at this point in the history
  • Loading branch information
JElchison committed Dec 17, 2024
1 parent 3b082f0 commit 12aeea5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/testthat/test-measures.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,13 @@ test_that("riem_measures outputs warning if no results", {
test_that("riem_measures checks dates", {
expect_snapshot_error(riem_measures(date_start = "somethingelse"))

expect_snapshot_error(riem_measures(date_end = "somethingelse"))
expect_snapshot_error(riem_measures(date_start = "2014-03-01",
date_end = "somethingelse"))

expect_snapshot_error(riem_measures(date_start = "2015 31 01"))

expect_snapshot_error(riem_measures(date_end = "2015 31 01"))
expect_snapshot_error(riem_measures(date_start = "2014-03-01",
date_end = "2015 31 01"))

expect_snapshot_error(
riem_measures(
Expand Down

0 comments on commit 12aeea5

Please sign in to comment.