Skip to content

Commit cc4bd2d

Browse files
committed
refactor: replace format! with assert_eq!
1 parent 0451454 commit cc4bd2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datafusion/ffi/src/plan_properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ mod tests {
321321

322322
let foreign_props: PlanProperties = local_props_ptr.try_into()?;
323323

324-
assert!(format!("{foreign_props:?}") == format!("{original_props:?}"));
324+
assert_eq!(format!("{foreign_props:?}"), format!("{original_props:?}"));
325325

326326
Ok(())
327327
}

0 commit comments

Comments
 (0)