Skip to content

Commit 1a52a45

Browse files
committed
lint
1 parent a796bf4 commit 1a52a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datafusion/core/tests/parquet/ordering.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ async fn test_create_table_with_order_writes_sorting_columns() -> Result<()> {
198198
// Find the parquet file that was written
199199
let parquet_files: Vec<_> = std::fs::read_dir(&table_path)?
200200
.filter_map(|e| e.ok())
201-
.filter(|e| e.path().extension().map_or(false, |ext| ext == "parquet"))
201+
.filter(|e| e.path().extension().is_some_and(|ext| ext == "parquet"))
202202
.collect();
203203

204204
assert!(

0 commit comments

Comments
 (0)