Fix test name

This commit is contained in:
Joseph T. Lyons 2023-08-07 17:07:01 -04:00
parent e3a4d174de
commit 580c2ea8eb

View file

@ -294,7 +294,7 @@ mod tests {
}
#[test]
fn test_path_suffix() {
fn test_icon_suffix() {
// No dots in name
let path = Path::new("/a/b/c/file_name.rs");
assert_eq!(path.icon_suffix(), Some("rs"));