Skip to content

Commit

Permalink
garbage collection in test to avoid error
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoohafkan committed Aug 5, 2019
1 parent af240bf commit 84be10a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-wrapper.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ test_that("wrapper works", {
expect_type(hdfql_cursor_get_bigint(), "double")
expect_equal(hdfql_execute(sprintf('CLOSE FILE "%s"', testfile)), 0)

expect_null(rm(my_cursor))
expect_silent(gc())
expect_type(detach(hql$wrapper), "environment")
})

Expand Down

0 comments on commit 84be10a

Please sign in to comment.