mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-10 11:12:43 +00:00
M11: tests: the second extension property list is the incomplete one (6.6.2.3.3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
5241619b96
commit
97d054e14f
@@ -856,8 +856,8 @@ fn xmp_extension_schema_descriptions_are_complete() {
|
||||
// A second property list is read as well as the first.
|
||||
let complete = schema_without("");
|
||||
let second = complete.replacen(
|
||||
"<pdfaSchema:property>",
|
||||
r#"<pdfaSchema:property><rdf:Seq><rdf:li rdf:parseType="Resource"><pdfaProperty:name>p</pdfaProperty:name></rdf:li></rdf:Seq></pdfaSchema:property><pdfaSchema:property>"#,
|
||||
"</pdfaSchema:property>",
|
||||
r#"</pdfaSchema:property><pdfaSchema:property><rdf:Seq><rdf:li rdf:parseType="Resource"><pdfaProperty:name>p</pdfaProperty:name></rdf:li></rdf:Seq></pdfaSchema:property>"#,
|
||||
1,
|
||||
);
|
||||
assert_eq!(extension(&second, OWN).0, ["pdfaProperty:category", "pdfaProperty:description", "pdfaProperty:valueType"]);
|
||||
|
||||
Reference in New Issue
Block a user