Skip to content

Commit

Permalink
fix tests for older mlr3tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Sep 14, 2021
1 parent 65b9eb9 commit 22b9da1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test_TuningInstanceSingleCrit.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ invoke(tuner$optimize, instance, .seed = 123)

test_that("fortify.TuningInstanceSingleCrit", {
f = fortify(instance)
expect_data_table(f, nrows = 4, ncols = 9)
expect_names(names(f), permutation.of = c("cp", "minsplit", "classif.ce", "x_domain_cp", "x_domain_minsplit",
expect_data_table(f, nrows = 4)
expect_names(names(f), must.include = c("cp", "minsplit", "classif.ce", "x_domain_cp", "x_domain_minsplit",
"runtime_learners", "timestamp", "batch_nr", "resample_result"))
})

Expand Down

0 comments on commit 22b9da1

Please sign in to comment.