Commit 8415924c authored by James Lamb's avatar James Lamb Committed by Nikita Titov
Browse files

[R-package] corrected typo in R unit tests (fixes #2336) (#2337)

parent c0883f17
......@@ -76,6 +76,6 @@ test_that("training continuation works", {
test_that("cv works", {
dtrain <- lgb.Dataset(train$data, label=train$label)
params <- list(objective="regression", metric="l2,l1")
bst <- lgb.cv(params, dtrain, 10, nflod=5, min_data=1, learning_rate=1, early_stopping_rounds=10)
bst <- lgb.cv(params, dtrain, 10, nfold=5, min_data=1, learning_rate=1, early_stopping_rounds=10)
expect_false(is.null(bst$record_evals))
})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment