Skip to content

Commit a0d7cbd

Browse files
committed
fix distributional test
1 parent f693b90 commit a0d7cbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-dist_quantiles.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ test_that("arithmetic works on quantiles", {
6868
expect_identical(dstn / 4, dstn2)
6969
expect_identical((1/4) * dstn, dstn2)
7070

71-
expect_identical(parameters(sum(dstn))$q[[1]], as.double(1:4 + 8:11))
71+
expect_error(sum(dstn))
7272
expect_error(suppressWarnings(dstn + distributional::dist_normal()))
7373
})

0 commit comments

Comments
 (0)