Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jul 2, 2023
1 parent 81ba62d commit bd54b7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-hdi.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ test_that("hdi", {
expect_length(capture.output(print(hdi(distribution_normal(1000), ci = c(0.80, 0.90)))), 5)

expect_message(hdi(c(2, 3, NA)))
expect_message(hdi(c(2, 3)))
expect_warning(hdi(c(2, 3)))
expect_message(hdi(distribution_normal(1000), ci = 0.0000001))
expect_message(hdi(distribution_normal(1000), ci = 950))
expect_warning(hdi(distribution_normal(1000), ci = 950))
expect_message(hdi(c(0, 0, 0)))
})

Expand Down

0 comments on commit bd54b7a

Please sign in to comment.