Apache DataFusion SQL Query Engine
Fix clippy (#4817)
Raphael Taylor-Daviesae1465d79c94
diff --git a/datafusion/core/src/catalog/listing_schema.rs b/datafusion/core/src/catalog/listing_schema.rsindex dcc15cb064..265e08f7a6 100644--- a/datafusion/core/src/catalog/listing_schema.rs+++ b/datafusion/core/src/catalog/listing_schema.rs@@ -237,7 +237,7 @@ mod tests {path: Path::new("/file"),is_dir: true,};- assert!(table_path.to_string().expect("table path").ends_with("/"));+ assert!(table_path.to_string().expect("table path").ends_with('/'));}#[test]@@ -246,6 +246,6 @@ mod tests {path: Path::new("/file"),is_dir: false,};- assert!(!table_path.to_string().expect("table_path").ends_with("/"));+ assert!(!table_path.to_string().expect("table_path").ends_with('/'));}}