diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/cases-content-symbol.png | bin | 0 -> 191 bytes | |||
| -rw-r--r-- | tests/ref/cases-content-text.png | bin | 0 -> 184 bytes | |||
| -rw-r--r-- | tests/suite/text/case.typ | 8 |
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/ref/cases-content-symbol.png b/tests/ref/cases-content-symbol.png Binary files differnew file mode 100644 index 00000000..b0b8a65e --- /dev/null +++ b/tests/ref/cases-content-symbol.png diff --git a/tests/ref/cases-content-text.png b/tests/ref/cases-content-text.png Binary files differnew file mode 100644 index 00000000..d9767582 --- /dev/null +++ b/tests/ref/cases-content-text.png diff --git a/tests/suite/text/case.typ b/tests/suite/text/case.typ index 2bf68bc3..964ff28b 100644 --- a/tests/suite/text/case.typ +++ b/tests/suite/text/case.typ @@ -6,6 +6,14 @@ #test(upper(memes), "ARE MEMES GREAT?") #test(upper("Ελλάδα"), "ΕΛΛΆΔΑ") +--- cases-content-text --- +// Check that cases are applied to text nested in content +#lower(box("HI!")) + +--- cases-content-symbol --- +// Check that cases are applied to symbols nested in content +#lower($H I !$.body) + --- upper-bad-type --- // Error: 8-9 expected string or content, found integer #upper(1) |
