summaryrefslogtreecommitdiff
path: root/tests/typ/code/call-wide.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/code/call-wide.typ')
-rw-r--r--tests/typ/code/call-wide.typ40
1 files changed, 0 insertions, 40 deletions
diff --git a/tests/typ/code/call-wide.typ b/tests/typ/code/call-wide.typ
deleted file mode 100644
index 1ad4995d..00000000
--- a/tests/typ/code/call-wide.typ
+++ /dev/null
@@ -1,40 +0,0 @@
-// Test wide calls.
-
----
-// Test multiple wide calls in separate expressions.
-#font!(fill: eastern) - First
-#font!(fill: forest) - Second
-
----
-// Test in heading.
-= A #align!(right) B
-C
-
----
-// Test evaluation semantics.
-
-#let x = 1
-#let f(x, body) = (x, body)
-#f!(x)
-{ x = 2 }
-
----
-// Test multiple wide calls in one expression.
-// Ref: false
-
-#let f() = []
-#let g(x, y) = []
-
-// Error: 2-4 wide calls are only allowed directly in templates
-{f!()}
-
-// Test nested wide calls.
-// Error: 5-7 wide calls are only allowed directly in templates
-#g!(f!())
-
----
-// Test missing parentheses.
-// Ref: false
-
-// Error: 4 expected argument list
-#f!