Skip to content

Commit

Permalink
Update tests/testthat/test-mc.R
Browse files Browse the repository at this point in the history
Co-authored-by: Simon P. Couch <[email protected]>
  • Loading branch information
hfrick and simonpcouch authored Sep 26, 2024
1 parent 92e653a commit bc6d8de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-mc.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ test_that("strata", {


test_that("bad args", {
expect_snapshot(error = TRUE, {
mc_cv(mtcars, prop = -1)
})
expect_snapshot(error = TRUE, {
mc_cv(mtcars, prop = 1)
})
Expand Down

0 comments on commit bc6d8de

Please sign in to comment.