Unverified Commit 20e63387 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[R-package] resolve test warning about is.na() and handles (#4341)

parent 4ccf92be
......@@ -82,7 +82,8 @@ test_that("lgb.Dataset: Dataset should be able to construct from matrix and retu
, lightgbm:::lgb.params2str(params = list())
, ref_handle
)
expect_false(is.na(handle))
expect_is(handle, "externalptr")
expect_false(is.null(handle))
.Call(LGBM_DatasetFree_R, handle)
handle <- NULL
})
......
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