diff --git a/src/tests/fixtures/mod.rs b/src/tests/fixtures/mod.rs index 676340a..09cffad 100644 --- a/src/tests/fixtures/mod.rs +++ b/src/tests/fixtures/mod.rs @@ -183,3 +183,27 @@ pub(crate) const LOCALIZED_TEXT_EXAMPLE: &str = r#" + + + PDF Author + XMP Author + + + + XMP Authors [1] + + + + + + DC Creator [1] + + + + + "#; diff --git a/src/tests/xmp_meta.rs b/src/tests/xmp_meta.rs index 8186914..d72d64c 100644 --- a/src/tests/xmp_meta.rs +++ b/src/tests/xmp_meta.rs @@ -148,7 +148,7 @@ mod from_str { } mod from_str_with_options { - use crate::{tests::fixtures::*, FromStrOptions, XmpMeta, XmpValue}; + use crate::{tests::fixtures::*, FromStrOptions, XmpError, XmpErrorType, XmpMeta, XmpValue}; const NO_META: &str = r#" DC Creator [1] " + ); + } + #[test] fn bad_xmp() { // TXMPMeta::ParseFromBuffer doesn't seem to throw exceptions,