Compare commits
1 Commits
v0.7.1-74-
...
v0.7.1-75-
Author | SHA1 | Date | |
---|---|---|---|
8041dc6ff5 |
@@ -114,9 +114,11 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_cover_art_image() {
|
fn test_cover_art_image() {
|
||||||
let path: String = String::from("somepath");
|
let dir = String::from("./");
|
||||||
let coverart = coverart::init::init_coverart_only_path(path.clone());
|
let filename = String::from("CoverArt.png");
|
||||||
|
let coverart = coverart::init::init_coverart_dir_and_filename(&dir, &filename);
|
||||||
|
|
||||||
assert_eq!(path, coverart.path);
|
assert_eq!(dir, coverart.directory);
|
||||||
|
assert_eq!(filename, coverart.filename);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user