Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
typo fix
Browse files Browse the repository at this point in the history
mb706 committed Jan 14, 2024
1 parent ca68e75 commit 9266216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_SurrogateLearnerCollection.R
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ test_that("param_set", {
expect_setequal(surrogate$param_set$ids(), c("assert_insample_perf", "perf_measures", "perf_thresholds", "catch_errors"))
expect_equal(surrogate$param_set$class[["assert_insample_perf"]], "ParamLgl")
expect_equal(surrogate$param_set$class[["perf_measures"]], "ParamUty")
expect_equal(surrogate$param_set$class[["perf_threshold"]], "ParamUty")
expect_equal(surrogate$param_set$class[["perf_thresholds"]], "ParamUty")
expect_equal(surrogate$param_set$class[["catch_errors"]], "ParamLgl")
expect_error({surrogate$param_set = list()}, regexp = "param_set is read-only.")
})

0 comments on commit 9266216

Please sign in to comment.