Skip to content

Commit

Permalink
avro_test: fix clippy warning cmp-owned
Browse files Browse the repository at this point in the history
  • Loading branch information
Igosuki committed Sep 12, 2021
1 parent f36b673 commit cb94c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/src/physical_plan/avro.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ mod tests {
assert!(matches!(
avro_exec,
Err(DataFusionError::NotImplemented(msg))
if msg == "cannot read avro schema without the 'avro' feature enabled".to_string()
if msg == *"cannot read avro schema without the 'avro' feature enabled"
));

Ok(())
Expand Down

0 comments on commit cb94c8e

Please sign in to comment.