Skip to content

Commit

Permalink
Specify the now-required station srgument 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 1c8a136 commit a75b5b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-measures.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ test_that("riem_measures outputs warning if no results", {
httptest2::with_mock_dir(file.path("fixtures", "warnings"), {
expect_warning(
riem_measures(
station = "VOHY",
date_start = "3050-12-01",
date_end = "3055-12-01"
),
Expand All @@ -57,6 +58,7 @@ test_that("riem_measures checks dates", {

expect_snapshot_error(
riem_measures(
station = "VOHY",
date_start = "2015-12-01",
date_end = "2013-12-01"
)
Expand Down

0 comments on commit a75b5b9

Please sign in to comment.