Skip to content

Commit

Permalink
add missing DBI::dbDisconnect(con)
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilHvitfeldt committed Dec 16, 2024
1 parent a0786ec commit f7eff40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testthat/test-augment.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ test_that("SQLite - augment() works", {

expect_s3_class(res, "tbl_lazy")
expect_identical(dplyr::collect(res), exp)

DBI::dbDisconnect(con)
})

test_that("duckdb - augment() works", {
Expand Down Expand Up @@ -101,6 +103,8 @@ test_that("duckdb - augment() works", {
)

expect_identical(dplyr::collect(res), exp)

DBI::dbDisconnect(con)
})

test_that("arrow - augment() works", {
Expand Down

0 comments on commit f7eff40

Please sign in to comment.