Skip to content

Commit 08ac040

Browse files
committed
hard error in tests
1 parent 46061fb commit 08ac040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-arrange-canonical.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ test_that("canonical arrangement works", {
55
geo_value = rep(c("ga", "ca"), each = 4),
66
time_value = rep(2:1, times = 4)
77
)
8-
expect_warning(arrange_canonical(tib))
8+
expect_error(arrange_canonical(tib))
99

1010
tib <- tib %>% as_epi_df(additional_metadata = list(other_keys = "demo_grp"))
1111
expect_equal(names(tib), c("geo_value", "time_value", "x", "demo_grp"))

0 commit comments

Comments
 (0)