Skip to content

Commit 24effd8

Browse files
committed
assign query to result to avoid release
1 parent d0f9ba1 commit 24effd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/spec-result-send-query.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ spec_result_send_query <- list(
7474
#' when the connection is closed.
7575
con <- connect(ctx)
7676
on.exit(dbDisconnect(con))
77-
expect_warning(dbSendQuery(con, trivial_query()), NA)
77+
expect_warning(res<-dbSendQuery(con, trivial_query()), NA)
7878

7979
expect_warning({
8080
dbDisconnect(con)

0 commit comments

Comments
 (0)