Skip to content

Commit b6adeb0

Browse files
committed
modify test to uncover existing bug
1 parent ec38eca commit b6adeb0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ mod pooling;
1313
mod sync_wrapper;
1414
mod type_check;
1515

16-
async fn transaction_test(conn: &mut TestConnection) -> QueryResult<()> {
16+
async fn transaction_test<C: AsyncConnection<Backend = TestBackend>>(
17+
conn: &mut C,
18+
) -> QueryResult<()> {
1719
let res = conn
1820
.transaction::<i32, diesel::result::Error, _>(|conn| {
1921
Box::pin(async move {

0 commit comments

Comments
 (0)