Skip to content

Commit f29ae48

Browse files
committed
Made test names more specific.
1 parent e373b49 commit f29ae48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test-epi_shift_internal.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ test_that("Check that epi_lag shifts properly", {
4545
expect_equal(slope_lag,1)
4646
})
4747

48-
test_that("Check for non-integer values", {
48+
test_that("Values for ahead and lag must be integer values", {
4949
r3 <- epi_recipe(x) %>%
5050
step_epi_ahead(death_rate, ahead = 3.6) %>%
5151
step_epi_lag(death_rate, lag = 1.9)
@@ -54,7 +54,7 @@ test_that("Check for non-integer values", {
5454
)
5555
})
5656

57-
test_that("Check for duplicate values", {
57+
test_that("Values for ahead and lag cannot be duplicates", {
5858
r4 <- epi_recipe(x) %>%
5959
step_epi_ahead(death_rate, ahead = 7) %>%
6060
step_epi_lag(death_rate, lag = 7) %>%

0 commit comments

Comments
 (0)