Skip to content

Commit

Permalink
Update R-package/tests/testthat/test_basic.R
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Jan 4, 2022
1 parent 33dbb8e commit f90b2d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R-package/tests/testthat/test_basic.R
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ test_that("lgb.train() respects parameter aliases for objective", {
)
expect_named(bst$record_evals[["the_training_data"]], "binary_logloss")
expect_length(bst$record_evals[["the_training_data"]][["binary_logloss"]][["eval"]], nrounds)
expect_equal(bst$params[["objective"]], "binary")
})

test_that("lgb.train() respects parameter aliases for metric", {
Expand Down

0 comments on commit f90b2d6

Please sign in to comment.