summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/show-set-func.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/compiler/show-set-func.typ')
-rw-r--r--tests/typ/compiler/show-set-func.typ16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/typ/compiler/show-set-func.typ b/tests/typ/compiler/show-set-func.typ
deleted file mode 100644
index 0447d946..00000000
--- a/tests/typ/compiler/show-set-func.typ
+++ /dev/null
@@ -1,16 +0,0 @@
-// Test set rules on an element in show rules for said element.
-
----
-// These are both red because in the expanded form, `set text(red)` ends up
-// closer to the content than `set text(blue)`.
-#show strong: it => { set text(red); it }
-Hello *World*
-
-#show strong: it => { set text(blue); it }
-Hello *World*
-
----
-// This doesn't have an effect. An element is materialized before any show
-// rules run.
-#show heading: it => { set heading(numbering: "(I)"); it }
-= Heading