Skip to content

Commit

Permalink
fixed is_parameterised test
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlambert committed Aug 24, 2023
1 parent b9a56b3 commit ac68ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-checkers.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test_that("is_parameterised works as expected with epiparam parameters", {
eparam <- epiparam(epi_dist = "incubation_period")
eparam <- subset(eparam, author == "McAloon_etal")
eparam <- subset(eparam, sample_size == max(sample_size))
expect_true(is_parameterised(epiparam()[15, ]))
expect_true(is_parameterised(eparam))
})

test_that("is_parameterised works as expected without epiparam parameters", {
Expand Down

0 comments on commit ac68ec5

Please sign in to comment.