Skip to content

Commit

Permalink
fix: hydro test
Browse files Browse the repository at this point in the history
  • Loading branch information
bczernecki committed Oct 21, 2024
1 parent 9ac7075 commit 6f200ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-hydro_metadata_imgw.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ h_d <- suppressWarnings(hydro_metadata_imgw("daily"))
h_m <- suppressWarnings(hydro_metadata_imgw("monthly"))

test_that("hydro-metadata works!", {
if (is.list(h_d) && is.list(h_m) && is.list(h_a)) {
if (is.list(h_d) && is.list(h_m)) {
expect_equal(dim(h_d[[1]]), c(10, 1))
expect_equal(dim(h_d[[2]]), c(10, 1))
expect_equal(dim(h_m[[1]]), c(10, 1))
Expand Down

0 comments on commit 6f200ce

Please sign in to comment.