Skip to content

Commit

Permalink
Fix lint tests
Browse files Browse the repository at this point in the history
  • Loading branch information
acabal committed Mar 26, 2024
1 parent 28ac498 commit 917c65b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions tests/lint/typography/t-001/golden/t-001-out.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
t-001 [Error] chapter-1.xhtml Double spacing found. Sentences should be
single-spaced. (Note that double spaces might include Unicode no-break spaces!)
5 changes: 5 additions & 0 deletions tests/lint/typography/t-042/golden/t-042-out.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
t-042 [Error] chapter-1.xhtml `‘` used for Greek dasia or `’` used for Greek
psili, but expected the single precomposed Unicode character, or a combining
mark if a precomposed character doesn’t exist.
<i xml:lang="el">’αποικα</i>
<i xml:lang="el">‘αποικα</i>
3 changes: 3 additions & 0 deletions tests/lint/typography/t-074/golden/t-074-out.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
t-074 [Manual Review] chapter-1.xhtml Extended sound using hyphen-minus `-`
instead of non-breaking hyphen `‑`.
<i>Bor-r-r-r-n!</i>
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<body epub:type="bodymatter z3998:fiction">
<section id="chapter-1" epub:type="chapter">
<h2 epub:type="ordinal z3998:roman">I</h2>
<p><!-- ignore, not a sound --><i>bon-bon</i></p>
<p><i>bor-r-r-r-n!</i></p>
<p><!-- ignore, too long --><i>can this be the Seigneur du Vallon de Bracieux de Pierrefonds? Well-a-day! how he has shrunk since he gave up the name of Porthos!</i></p>
<p><!-- ignore, not a sound --><i>Bon-bon.</i></p>
<p><i>Bor-r-r-r-n!</i></p>
<p><!-- ignore, too long --><i>Can this be the Seigneur du Vallon de Bracieux de Pierrefonds? Well-a-day! how he has shrunk since he gave up the name of Porthos!</i></p>
</section>
</body>
</html>

0 comments on commit 917c65b

Please sign in to comment.