Skip to content

Commit f8cf508

Browse files
committed
remove all assert_optimized_plan_eq_display_indent
1 parent bc6e6b7 commit f8cf508

File tree

1 file changed

+0
-13
lines changed
  • datafusion/optimizer/src/test

1 file changed

+0
-13
lines changed

datafusion/optimizer/src/test/mod.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -213,19 +213,6 @@ pub fn assert_optimized_plan_with_rules(
213213
Ok(())
214214
}
215215

216-
pub fn assert_optimized_plan_eq_display_indent(
217-
rule: Arc<dyn OptimizerRule + Send + Sync>,
218-
plan: LogicalPlan,
219-
expected: &str,
220-
) {
221-
let optimizer = Optimizer::with_rules(vec![rule]);
222-
let optimized_plan = optimizer
223-
.optimize(plan, &OptimizerContext::new(), observe)
224-
.expect("failed to optimize plan");
225-
let formatted_plan = optimized_plan.display_indent_schema().to_string();
226-
assert_eq!(formatted_plan, expected);
227-
}
228-
229216
#[macro_export]
230217
macro_rules! assert_optimized_plan_eq_display_indent_snapshot {
231218
(

0 commit comments

Comments
 (0)