From 15128e0db584880126d58ad0b51501c7e77649b5 Mon Sep 17 00:00:00 2001 From: Weijun-H Date: Tue, 1 Oct 2024 19:22:21 +0800 Subject: [PATCH] chore: Fixed Clippy --- tests/scan.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scan.rs b/tests/scan.rs index 76ca53f9..7f8c36b2 100644 --- a/tests/scan.rs +++ b/tests/scan.rs @@ -575,7 +575,7 @@ async fn test_view_foreign_table(mut conn: PgConnection, tempdir: TempDir) -> Re // fully pushdown to the DuckDB "CREATE VIEW primitive_view AS SELECT * FROM primitive".execute(&mut conn); let res: (bool,) = "SELECT boolean_col FROM primitive_view".fetch_one(&mut conn); - assert_eq!(res.0, true); + assert!(res.0); // cannot fully pushdown to the DuckDB "CREATE TABLE t1 (a int);".execute(&mut conn);