Skip to content

Commit

Permalink
test(core): Mark output of ICU 74 as unsupported for expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Dec 23, 2023
1 parent c44e74c commit 21ff789
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/sura-2.sil
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
\begin[papersize=a6,direction=RTL]{document}
\begin{lua}
-- ICU 74 introduced a change that affects where SILE sees font
-- property changes in this text. Both outputs are fine, but we
-- don't have tooling to expect different outputs for the same
-- inputs yet, so this work around just allows this test to fail
-- on ICU 74. As of this commit our CI system uses ICU 70, so
-- only some local developer testing is affected. When CI ever
-- starts breaking we might make that the expectation and mark it
-- unsupported on other versions.
local icu = require("justenoughicu")
local icu74plus = tostring(icu.version()) >= "74.0"
if icu74plus then SILE.status.unsupported = true end
\end{lua}
\nofolios
\font[family=Amiri Quran,size=20pt]
\use[module=packages.linespacing]
Expand Down

0 comments on commit 21ff789

Please sign in to comment.