summaryrefslogtreecommitdiff
path: root/tests/typ/style/set.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-02-02 11:28:31 +0100
committerLaurenz <laurmaedje@gmail.com>2022-02-02 11:28:31 +0100
commitbdb1c008f2cee7c3929b671d9407d2b578182199 (patch)
tree2c255f9be26c870504ed7dfe819ac783d3de30e9 /tests/typ/style/set.typ
parent7c33c1e691d23fbed6db99f54750f7538f5f1c25 (diff)
Allow set & show only directly in markup
Diffstat (limited to 'tests/typ/style/set.typ')
-rw-r--r--tests/typ/style/set.typ5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/style/set.typ b/tests/typ/style/set.typ
new file mode 100644
index 00000000..0d4d47cc
--- /dev/null
+++ b/tests/typ/style/set.typ
@@ -0,0 +1,5 @@
+// General tests for set.
+
+---
+// Error: 2-10 set is only allowed directly in markup
+{set f(x)}