Skip to content

Commit

Permalink
fix one more test
Browse files Browse the repository at this point in the history
  • Loading branch information
sebffischer committed Jan 31, 2024
1 parent 291d450 commit ff31f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/testthat/helper_expectations.R
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ expect_bundleable = function(learner, task) {
exists(x, learner, inherits = FALSE)
}
has_private = function(learner, x) {
exists(x, get_private(learner), inherits = FALSE)
exists(x, mlr3misc::get_private(learner), inherits = FALSE)
}

expect_true(has_public(learner, "bundle") && test_function(learner$bundle, nargs = 0))
Expand Down

0 comments on commit ff31f66

Please sign in to comment.