Skip to content

Commit

Permalink
Update R-package/tests/testthat/test_parameters.R
Browse files Browse the repository at this point in the history
Co-Authored-By: Nikita Titov <[email protected]>
  • Loading branch information
jameslamb and StrikerRUS authored Feb 23, 2020
1 parent 103fda9 commit eb2f955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R-package/tests/testthat/test_parameters.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ context("parameter aliases")

test_that(".PARAMETER_ALIASES() returns a named list of character vectors, where names are unique", {
param_aliases <- .PARAMETER_ALIASES()
expect_true(identical(class(param_aliases), "list"))
expect_identical(class(param_aliases), "list")
expect_true(is.character(names(param_aliases)))
expect_true(is.character(param_aliases[["boosting"]]))
expect_true(is.character(param_aliases[["early_stopping_round"]]))
Expand Down

0 comments on commit eb2f955

Please sign in to comment.