diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-04-13 10:39:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-13 08:39:45 +0000 |
| commit | 020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch) | |
| tree | c0027ad22046e2726c22298461327823d6b88d53 /tests/typ/layout/terms.typ | |
| parent | 72dd79210602ecc799726fc096b078afbb47f299 (diff) | |
Better test runner (#3922)
Diffstat (limited to 'tests/typ/layout/terms.typ')
| -rw-r--r-- | tests/typ/layout/terms.typ | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/tests/typ/layout/terms.typ b/tests/typ/layout/terms.typ deleted file mode 100644 index 178aa98b..00000000 --- a/tests/typ/layout/terms.typ +++ /dev/null @@ -1,60 +0,0 @@ -// Test term list. - ---- -// Test with constructor. -#terms( - ([One], [First]), - ([Two], [Second]), -) - ---- -// Test joining. -#for word in lorem(4).split().map(s => s.trim(".")) [ - / #word: Latin stuff. -] - ---- -// Test multiline. -#set text(8pt) - -/ Fruit: A tasty, edible thing. -/ Veggie: - An important energy source - for vegetarians. - - And healthy! - ---- -// Test style change. -#set text(8pt) -/ First list: #lorem(6) - -#set terms(hanging-indent: 30pt) -/ Second list: #lorem(5) - ---- -// Test RTL. -#set text(8pt, dir: rtl) - -/ פרי: דבר טעים, אכיל. ומקור אנרגיה חשוב לצמחונים. - ---- -// Test grid like show rule. -#show terms: it => table( - columns: 2, - inset: 3pt, - ..it.children.map(v => (emph(v.term), v.description)).flatten(), -) - -/ A: One letter -/ BB: Two letters -/ CCC: Three letters - ---- -/ Term: -Not in list -/Nope - ---- -// Error: 8 expected colon -/ Hello |
