Skip to content

Commit 8cc9935

Browse files
committed
add deprecation test
1 parent cb015cc commit 8cc9935

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/testthat/test-dist_spec.R

+4
Original file line numberDiff line numberDiff line change
@@ -320,3 +320,7 @@ test_that("get functions report errors", {
320320
Gamma(mean = 4, sd = 1), Gamma(mean = 4, sd = 1)
321321
)), "must be specified")
322322
})
323+
324+
test_that("fix_dist() is deprecated", {
325+
expect_deprecated(fix_dist(LogNormal(meanlog = Normal(4, 1), sdlog = 1)))
326+
})

0 commit comments

Comments
 (0)