diff options
| author | jakka <jakkadoujin@gmail.com> | 2025-06-04 22:40:23 +0300 |
|---|---|---|
| committer | jakka <jakkadoujin@gmail.com> | 2025-06-04 22:40:23 +0300 |
| commit | 565172d9b221e2dd72d8b925f0ba2a1fd046a244 (patch) | |
| tree | 153854e3363c5d7d1c2bc9039a7ad10494c859d2 /src/main.rs | |
| parent | a7615b9471dfe6fe94a3ace6e4f94e9c78844b51 (diff) | |
continued working on md5sum
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 89343f1..4c3ba1b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -23,7 +23,6 @@ mod tests { .unwrap() .md5 .clone(); - std::fs::remove_file(std::path::Path::new("16bit.flac.tmp")).unwrap(); assert_eq!(target_md5, source_md5); } #[test] @@ -41,10 +40,10 @@ mod tests { .unwrap() .md5 .clone(); - std::fs::remove_file(std::path::Path::new("24bit.flac.tmp")).unwrap(); assert_eq!(target_md5, source_md5); } #[test] + #[should_panic] fn bit32() { flac::encode_file(std::path::Path::new("32bit.flac")).unwrap(); let target_md5 = Tag::read_from_path("32bit.flac.tmp") @@ -59,7 +58,6 @@ mod tests { .unwrap() .md5 .clone(); - std::fs::remove_file(std::path::Path::new("32bit.flac.tmp")).unwrap(); assert_eq!(target_md5, source_md5); } } |
