Skip to content

Commit 80f57ea

Browse files
committed
Add test for uncontrolled failure scenario
Identified by @adamkucharski
1 parent acb0cb6 commit 80f57ea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
test_that("early input validation error doesn't cause uncontrolled failure", {
2+
3+
bad_names_df <- dplyr::rename(ebola1976, dates=date)
4+
5+
cfr_static(bad_names_df)
6+
})

0 commit comments

Comments
 (0)