diff --git a/tests/testthat/test-measures.R b/tests/testthat/test-measures.R index e741b4a..b7a9ae9 100644 --- a/tests/testthat/test-measures.R +++ b/tests/testthat/test-measures.R @@ -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(