Skip to content

Commit

Permalink
test: fujifilm_x_t1_01.raf -> fujifilm_x_t1_01.raf.meta
Browse files Browse the repository at this point in the history
  • Loading branch information
mindeng committed Oct 23, 2024
1 parent c2fe7b5 commit d464e3e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/exif/exif_iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ mod tests {
#[test_case("broken.jpg", "", MimeImage::Jpeg)]
#[test_case("exif.heic", "+08:00", MimeImage::Heic)]
#[test_case("tif.tif", "", MimeImage::Tiff)]
#[test_case("fujifilm_x_t1_01.raf", "", MimeImage::Raf)]
#[test_case("fujifilm_x_t1_01.raf.meta", "", MimeImage::Raf)]
fn exif_iter_tz(path: &str, tz: &str, img_type: MimeImage) {
let buf = read_sample(path).unwrap();
let (data, _) = extract_exif_with_mime(img_type, &buf, None).unwrap();
Expand Down
2 changes: 1 addition & 1 deletion src/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ mod tests {

#[test_case("exif.heic", Image(Heic))]
#[test_case("exif.jpg", Image(Jpeg))]
#[test_case("fujifilm_x_t1_01.raf", Image(Raf))]
#[test_case("fujifilm_x_t1_01.raf.meta", Image(Raf))]
#[test_case("meta.mp4", Video(Mp4))]
#[test_case("meta.mov", Video(QuickTime))]
#[test_case("embedded-in-heic.mov", Video(QuickTime))]
Expand Down
2 changes: 1 addition & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ mod tests {
#[case("embedded-in-heic.mov", Track)]
#[case("exif.heic", Exif)]
#[case("exif.jpg", Exif)]
#[case("fujifilm_x_t1_01.raf", Exif)]
#[case("fujifilm_x_t1_01.raf.meta", Exif)]
#[case("meta.mov", Track)]
#[case("meta.mp4", Track)]
#[case("mka.mka", Track)]
Expand Down
2 changes: 1 addition & 1 deletion src/raf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ mod tests {

use super::*;

#[case("fujifilm_x_t1_01.raf")]
#[case("fujifilm_x_t1_01.raf.meta")]
fn test_check_raf(path: &str) {
let data = read_sample(path).unwrap();
RafInfo::check(&data).unwrap();
Expand Down

0 comments on commit d464e3e

Please sign in to comment.