summaryrefslogtreecommitdiff
path: root/tests/typ/meta/query-header.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-04-13 10:39:45 +0200
committerGitHub <noreply@github.com>2024-04-13 08:39:45 +0000
commit020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch)
treec0027ad22046e2726c22298461327823d6b88d53 /tests/typ/meta/query-header.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/meta/query-header.typ')
-rw-r--r--tests/typ/meta/query-header.typ30
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/typ/meta/query-header.typ b/tests/typ/meta/query-header.typ
deleted file mode 100644
index 5cbaa995..00000000
--- a/tests/typ/meta/query-header.typ
+++ /dev/null
@@ -1,30 +0,0 @@
-// Test creating a header with the query function.
-
----
-#set page(
- paper: "a7",
- margin: (y: 1cm, x: 0.5cm),
- header: context {
- smallcaps[Typst Academy]
- h(1fr)
- let after = query(selector(heading).after(here()))
- let before = query(selector(heading).before(here()))
- let elem = if before.len() != 0 {
- before.last()
- } else if after.len() != 0 {
- after.first()
- }
- emph(elem.body)
- }
-)
-
-#outline()
-
-= Introduction
-#lorem(35)
-
-= Background
-#lorem(35)
-
-= Approach
-#lorem(60)