fix: avoid stack overflow in database tests

Signed-off-by: Infiland <ljubica.citydesign@gmail.com>
This commit is contained in:
Infiland
2026-05-08 16:00:27 -07:00
committed by IAmTomahawkx
parent d76a71141f
commit 34f05f4b2f
+1 -1
View File
@@ -95,7 +95,7 @@ macro_rules! database_test {
db.drop_database().await;
#[allow(clippy::redundant_closure_call)]
(|$db: $crate::Database| $test)(db.clone()).await;
std::boxed::Box::pin((|$db: $crate::Database| $test)(db.clone())).await;
db.drop_database().await
};