Skip to content

Commit

Permalink
unquote vector name in epidist_utils test
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlambert committed Nov 17, 2023
1 parent d98b4e5 commit 3e0cee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-epidist_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ test_that("clean_epidist_params works as expected for pois", {
})

test_that("clean_epidist_params fails when pois parameters are incorrect", {
pois_param <- c("means" = 1)
pois_param <- c(means = 1)
class(pois_param) <- "pois"
expect_error(
clean_epidist_params(prob_dist_params = pois_param),
Expand Down

0 comments on commit 3e0cee6

Please sign in to comment.