Skip to content

Commit

Permalink
Fix clippy (#4817)
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold authored Jan 4, 2023
1 parent 5b70e35 commit ae1465d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/core/src/catalog/listing_schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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('/'));
}
}

0 comments on commit ae1465d

Please sign in to comment.