Use canonical tag name for original date
This commit is contained in:
parent
7bc3f274d2
commit
34c4fec9fe
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ fn test_get_image_property() {
|
||||||
let wand = MagickWand::new();
|
let wand = MagickWand::new();
|
||||||
assert!(wand.read_image("tests/data/IMG_5745.JPG").is_ok());
|
assert!(wand.read_image("tests/data/IMG_5745.JPG").is_ok());
|
||||||
// retrieve a property we know exists
|
// retrieve a property we know exists
|
||||||
let found_value = wand.get_image_property("exif:DateTime");
|
let found_value = wand.get_image_property("exif:DateTimeOriginal");
|
||||||
assert!(found_value.is_ok());
|
assert!(found_value.is_ok());
|
||||||
assert_eq!("2014:04:23 13:33:08", found_value.unwrap());
|
assert_eq!("2014:04:23 13:33:08", found_value.unwrap());
|
||||||
// retrieve a property that does not exist
|
// retrieve a property that does not exist
|
||||||
|
|
Loading…
Reference in a new issue