Skip to content

Commit b8ce37a

Browse files
committed
Switch to setequal, more strict
1 parent 561204a commit b8ce37a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/testthat/test-get_vpts.R‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ test_that("get_vpts() can fetch vpts data for multiple radars", {
135135
"data.frame"
136136
)
137137

138-
expect_contains(
138+
expect_setequal(
139139
multiple_radars$radar,
140140
c("bejab", "bewid")
141141
)
@@ -307,7 +307,7 @@ test_that("get_vpts() can fetch vpts data for a date range", {
307307
)
308308

309309
# Check that all expected timesteps are present
310-
expect_contains(
310+
expect_setequal(
311311
radar_interval_long$datetime,
312312
seq(
313313
from = lubridate::ymd_hms("2023-01-01 00:00:00"),

0 commit comments

Comments
 (0)