Removed outdated test
This commit is contained in:
parent
cba28e8e2c
commit
fdf40f2683
1 changed files with 0 additions and 6 deletions
|
@ -64,12 +64,6 @@ fn test_get_audio_format() {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn test_is_song() {
|
|
||||||
assert!(is_song(Path::new("animals/🐷/my🐖file.mp3")));
|
|
||||||
assert!(!is_song(Path::new("animals/🐷/my🐖file.jpg")));
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn is_image(path: &Path) -> bool {
|
pub fn is_image(path: &Path) -> bool {
|
||||||
let extension = match path.extension() {
|
let extension = match path.extension() {
|
||||||
Some(e) => e,
|
Some(e) => e,
|
||||||
|
|
Loading…
Add table
Reference in a new issue