summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-08-27 10:43:12 +0200
committerGitHub <noreply@github.com>2024-08-27 08:43:12 +0000
commit92f2c7b470ccdd36f57ab9b3a2ff9e3a8d4ddd6b (patch)
tree18d25367c822a8a215544cbfbcf857c28bae98d9 /tests
parent4365e18454af4f8f53fe1198182cb5dc8f3d628e (diff)
Refactor depth checks and apply them in math (#4845)
Diffstat (limited to 'tests')
-rw-r--r--tests/suite/scripting/recursion.typ6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/suite/scripting/recursion.typ b/tests/suite/scripting/recursion.typ
index 43fe848e..6be96c1e 100644
--- a/tests/suite/scripting/recursion.typ
+++ b/tests/suite/scripting/recursion.typ
@@ -53,3 +53,9 @@
// Hint: 22-25 check whether the show rule matches its own output
#show math.equation: $x$
$ x $
+
+--- recursion-show-math-realize ---
+// Error: 22-33 maximum show rule depth exceeded
+// Hint: 22-33 check whether the show rule matches its own output
+#show heading: it => heading[it]
+$ #heading[hi] $