From 99015efa66d14464714facbb60b466f2590d9766 Mon Sep 17 00:00:00 2001 From: Lachlan Kermode Date: Wed, 16 Jul 2025 22:46:37 +0200 Subject: [PATCH] Removes test from text/deco.typ A test already exists for small caps; it now also tests HTML render. --- tests/ref/html/html-deco.html | 1 - tests/ref/html/smallcaps-all.html | 10 ++++++++++ tests/suite/text/deco.typ | 3 --- tests/suite/text/smallcaps.typ | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 tests/ref/html/smallcaps-all.html diff --git a/tests/ref/html/html-deco.html b/tests/ref/html/html-deco.html index e471686ac..87f2ab4c8 100644 --- a/tests/ref/html/html-deco.html +++ b/tests/ref/html/html-deco.html @@ -7,6 +7,5 @@

Struck Highlighted Underlined Overlined

Mixed

-

Small Caps All Small Caps

diff --git a/tests/ref/html/smallcaps-all.html b/tests/ref/html/smallcaps-all.html new file mode 100644 index 000000000..47b799415 --- /dev/null +++ b/tests/ref/html/smallcaps-all.html @@ -0,0 +1,10 @@ + + + + + + + +

Test 012
Test 012

+ + diff --git a/tests/suite/text/deco.typ b/tests/suite/text/deco.typ index e44b682a0..a1d287d9d 100644 --- a/tests/suite/text/deco.typ +++ b/tests/suite/text/deco.typ @@ -91,6 +91,3 @@ We can also specify a customized value #overline[Overlined] #(strike, highlight, underline, overline).fold([Mixed], (it, f) => f(it)) - -#smallcaps[Small Caps] -#smallcaps(all: true)[All Small Caps] diff --git a/tests/suite/text/smallcaps.typ b/tests/suite/text/smallcaps.typ index 981e41c4c..4b2f85aef 100644 --- a/tests/suite/text/smallcaps.typ +++ b/tests/suite/text/smallcaps.typ @@ -11,6 +11,6 @@ #show smallcaps: set text(fill: red) #smallcaps[Smallcaps] ---- smallcaps-all --- +--- smallcaps-all render html --- #smallcaps(all: false)[Test 012] \ #smallcaps(all: true)[Test 012]