Skip to content

Commit

Permalink
Merge pull request #721 from xml-project/change-tests
Browse files Browse the repository at this point in the history
Changed text expected by test
  • Loading branch information
ndw authored Sep 29, 2024
2 parents 65f9715 + 7e98364 commit 4eaab17
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 10 additions & 1 deletion test-suite/tests/ab-p-document001.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
<t:info>
<t:title>p:document 001</t:title>
<t:revision-history>
<t:revision>
<t:date>2024-09-19</t:date>
<t:author>
<t:name>Achim Berndzen</t:name>
</t:author>
<t:description xmlns="http://www.w3.org/1999/xhtml">
<p>Changed expected document title due to change of website.</p>
</t:description>
</t:revision>
<t:revision>
<t:date>2021-06-10</t:date>
<t:author>
Expand Down Expand Up @@ -65,7 +74,7 @@
prefix="html"/>
<s:pattern>
<s:rule context="/">
<s:assert test="html:html/html:head/html:title='XProc 3.0 - Home'">Element hmtl/head/title is not 'XProc 3.0 - Home'.</s:assert>
<s:assert test="html:html/html:head/html:title='XProc - Home'">Element hmtl/head/title is not 'XProc - Home'.</s:assert>
</s:rule>
</s:pattern>
</s:schema>
Expand Down
11 changes: 10 additions & 1 deletion test-suite/tests/ab-p-document002.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
<t:info>
<t:title>p:document 002</t:title>
<t:revision-history>
<t:revision>
<t:date>2024-09-19</t:date>
<t:author>
<t:name>Achim Berndzen</t:name>
</t:author>
<t:description xmlns="http://www.w3.org/1999/xhtml">
<p>Changed expected document title due to change of website.</p>
</t:description>
</t:revision>
<t:revision>
<t:date>2021-06-10</t:date>
<t:author>
Expand Down Expand Up @@ -66,7 +75,7 @@
prefix="html"/>
<s:pattern>
<s:rule context="/">
<s:assert test="html:html/html:head/html:title='XProc 3.0 - Learning'">Element hmtl/head/title is not 'XProc 3.0 - Learning'.</s:assert>
<s:assert test="html:html/html:head/html:title='XProc - Learning'">Element hmtl/head/title is not 'XProc - Learning'.</s:assert>
</s:rule>
</s:pattern>
</s:schema>
Expand Down

0 comments on commit 4eaab17

Please sign in to comment.