Skip to content

Commit

Permalink
add deprecation test
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Sep 19, 2024
1 parent cb015cc commit 8cc9935
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testthat/test-dist_spec.R
Original file line number Diff line number Diff line change
Expand Up @@ -320,3 +320,7 @@ test_that("get functions report errors", {
Gamma(mean = 4, sd = 1), Gamma(mean = 4, sd = 1)
)), "must be specified")
})

test_that("fix_dist() is deprecated", {
expect_deprecated(fix_dist(LogNormal(meanlog = Normal(4, 1), sdlog = 1)))
})

0 comments on commit 8cc9935

Please sign in to comment.