From e1d66acdd51991d952717c7a0bd14466e099ee96 Mon Sep 17 00:00:00 2001 From: "Paul J. Davis" Date: Wed, 4 Dec 2024 09:13:16 -0600 Subject: [PATCH] Remove redundant asserts --- datafusion/core/tests/dataframe/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/datafusion/core/tests/dataframe/mod.rs b/datafusion/core/tests/dataframe/mod.rs index b7f2bc2e91f1..7fe688f9ceed 100644 --- a/datafusion/core/tests/dataframe/mod.rs +++ b/datafusion/core/tests/dataframe/mod.rs @@ -2069,7 +2069,6 @@ async fn test_dataframe_placeholder_column_parameter() -> Result<()> { // so the filter data type is not know, i.e. a = $0. // Therefore, the optimization fails. let optimized_plan = ctx.state().optimize(logical_plan); - assert!(optimized_plan.is_err()); assert!(optimized_plan .unwrap_err() .to_string() @@ -2139,7 +2138,6 @@ async fn test_dataframe_placeholder_like_expression() -> Result<()> { // so the filter data type is not know, i.e. a = $0. // Therefore, the optimization fails. let optimized_plan = ctx.state().optimize(logical_plan); - assert!(optimized_plan.is_err()); assert!(optimized_plan .unwrap_err() .to_string()