Skip to content

Commit 86fa4bb

Browse files
committed
poorly constructed test
1 parent 67c47c1 commit 86fa4bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/testthat/test-epi_shift.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ test_that("epi shift works with groups", {
2121
test_that("epi shift single works, renames", {
2222
tib <- tibble(
2323
x = 1:5, y = 1:5,
24-
time_value = seq(as.Date("2020-01-01"), by = 1, length.out = 5)
24+
time_value = seq(as.Date("2020-01-01"), by = 1, length.out = 5),
25+
geo_value = "ca"
2526
) %>% epiprocess::as_epi_df()
2627
ess <- epi_shift_single(tib, "x", 1, "test", epi_keys(tib))
2728
expect_named(ess, c("time_value", "geo_value", "test"))

0 commit comments

Comments
 (0)