We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b9219d commit 5aa43e5Copy full SHA for 5aa43e5
1 file changed
datafusion/core/src/datasource/file_format/csv.rs
@@ -1260,7 +1260,7 @@ mod tests {
1260
assert!(!col4.is_null(0));
1261
assert!(col4.is_null(1));
1262
}
1263
- other => panic!("expected RecordBatch but got {:?}", other),
+ other => panic!("expected RecordBatch but got {other:?}"),
1264
1265
Ok(())
1266
@@ -1306,8 +1306,7 @@ mod tests {
1306
assert!(
1307
msg.contains("Encountered unequal lengths")
1308
|| msg.contains("incorrect number of fields"),
1309
- "unexpected error message: {}",
1310
- msg
+ "unexpected error message: {msg}",
1311
);
1312
1313
0 commit comments