Skip to content

Commit

Permalink
Update test-staging_is_active.R
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau committed Aug 21, 2024
1 parent e51b323 commit 6cede04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test-staging_is_active.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
test_that("staging_is_active()", {
thresholds <- c("01-15", "04-15", "07-15", "10-15")
start <- c("01-15", "04-15", "07-15", "10-15")
active <- c(
"2024-01-15",
"2024-01-16",
Expand All @@ -17,7 +17,7 @@ test_that("staging_is_active()", {
for (today in active) {
expect_true(
staging_is_active(
thresholds = thresholds,
start = start,
today = today
)
)
Expand All @@ -35,7 +35,7 @@ test_that("staging_is_active()", {
for (today in inactive) {
expect_false(
staging_is_active(
thresholds = thresholds,
start = start,
today = today
)
)
Expand Down

0 comments on commit 6cede04

Please sign in to comment.