Skip to content

Commit

Permalink
correct expected method
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Sep 24, 2024
1 parent 1b06bfb commit d3ef7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-adjust-probability-calibration.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ test_that("basic adjust_probability_calibration() usage works", {
expect_equal(colnames(d_test), colnames(tlr_pred))

# probably actually used an isotonic calibrator
expect_equal(tlr_fit$adjustments[[1]]$results$fit$method, "Generalized additive model")
expect_equal(tlr_fit$adjustments[[1]]$results$fit$method, "Isotonic regression")
})

test_that("adjustment printing", {
Expand Down

0 comments on commit d3ef7fc

Please sign in to comment.