Skip to content

Commit

Permalink
chore: cleanup test
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Aug 10, 2022
1 parent 0b1cb8a commit 159a0f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_mlr_measures_classif.costs.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test_that("binary task", {
measures = list(m1, m2, m3)

lrn = lrn("classif.featureless")
perf = lrn$train(task)$predict(task)$score(measures, task = task)
perf = lrn$train(task)$predict(task)$score(measures)
expect_equal(perf[[1]], -perf[[2]])
expect_equal(perf[[3]], 0)
})
Expand Down

0 comments on commit 159a0f9

Please sign in to comment.