Skip to content

Commit

Permalink
improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Jul 24, 2019
1 parent bb95f65 commit cbdcccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_mlr_tasks.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test_that("load_x", {
nn = nn[startsWith(names(ns), "load_task")]

for (fun in nn) {
fun = match.fun(fun)
fun = get(fun, envir = ns, mode = "function")
expect_task_supervised(fun())
}
})

0 comments on commit cbdcccd

Please sign in to comment.