From 61764bf415d06edee730a0e8dd1715a08ef93490 Mon Sep 17 00:00:00 2001 From: Jussi Saurio Date: Mon, 15 Sep 2025 11:37:17 +0300 Subject: [PATCH] clippy --- tests/integration/query_processing/test_transactions.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/integration/query_processing/test_transactions.rs b/tests/integration/query_processing/test_transactions.rs index f4672006d..5de2bb566 100644 --- a/tests/integration/query_processing/test_transactions.rs +++ b/tests/integration/query_processing/test_transactions.rs @@ -425,8 +425,7 @@ fn test_mvcc_concurrent_conflicting_update() { .unwrap(); let err = conn2 .execute("UPDATE test SET value = 'third' WHERE id = 1") - .err() - .expect("expected error"); + .expect_err("expected error"); assert!(matches!(err, LimboError::WriteWriteConflict)); } @@ -455,8 +454,7 @@ fn test_mvcc_concurrent_conflicting_update_2() { .unwrap(); let err = conn2 .execute("UPDATE test SET value = 'third' WHERE id BETWEEN 0 AND 10") - .err() - .expect("expected error"); + .expect_err("expected error"); assert!(matches!(err, LimboError::WriteWriteConflict)); }