Skip to content

Commit f8ca21b

Browse files
committed
Update tests for LiblineaR SVM
1 parent 846bcea commit f8ca21b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test_svm_linear.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,12 @@ test_that('linear svm classification prediction: LiblineaR', {
280280

281281
expect_error(
282282
predict(cls_form, hpc_no_m[ind, -5], type = "prob"),
283-
"The LiblineaR engine does not support class probabilities"
283+
"No prob prediction method available for this model"
284284
)
285285

286286
expect_error(
287287
predict(cls_xy_form, hpc_no_m[ind, -5], type = "prob"),
288-
"The LiblineaR engine does not support class probabilities"
288+
"No prob prediction method available for this model"
289289
)
290290

291291
})

0 commit comments

Comments
 (0)