Skip to content

Commit 5e778f7

Browse files
committed
apply styler
1 parent 7b9a8ce commit 5e778f7

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

tests/testthat/test-double_ml_plr_export_preds.R

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,20 +100,23 @@ patrick::with_parameters_test_that("Unit tests for for the export of predictions
100100
expect_equal(as.vector(double_mlplr_obj$predictions$ml_g),
101101
as.vector(preds_g$response),
102102
tolerance = 1e-8)
103-
expect_class(double_mlplr_obj$models$ml_g$d[[1]][[1]],
104-
"LearnerRegr")
103+
expect_class(
104+
double_mlplr_obj$models$ml_g$d[[1]][[1]],
105+
"LearnerRegr")
105106
}
106107

107108
expect_equal(as.vector(double_mlplr_obj$predictions$ml_l),
108109
as.vector(preds_l$response),
109110
tolerance = 1e-8)
110-
expect_class(double_mlplr_obj$models$ml_l$d[[1]][[1]],
111-
"LearnerRegr")
111+
expect_class(
112+
double_mlplr_obj$models$ml_l$d[[1]][[1]],
113+
"LearnerRegr")
112114

113115
expect_equal(as.vector(double_mlplr_obj$predictions$ml_m),
114116
as.vector(preds_m$response),
115117
tolerance = 1e-8)
116-
expect_class(double_mlplr_obj$models$ml_m$d[[1]][[1]],
117-
"LearnerRegr")
118+
expect_class(
119+
double_mlplr_obj$models$ml_m$d[[1]][[1]],
120+
"LearnerRegr")
118121
}
119122
)

0 commit comments

Comments
 (0)