Skip to content

Commit

Permalink
[R-package] corrected typo in R unit tests (fixes #2336) (#2337)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored and StrikerRUS committed Aug 19, 2019
1 parent c0883f1 commit 8415924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R-package/tests/testthat/test_basic.R
Original file line number Diff line number Diff line change
Expand Up @@ -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))
})

0 comments on commit 8415924

Please sign in to comment.