summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math-call-symbol.pngbin0 -> 703 bytes
-rw-r--r--tests/suite/math/call.typ9
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/math-call-symbol.png b/tests/ref/math-call-symbol.png
new file mode 100644
index 00000000..8308bece
--- /dev/null
+++ b/tests/ref/math-call-symbol.png
Binary files differ
diff --git a/tests/suite/math/call.typ b/tests/suite/math/call.typ
index 5caacfac..54b97ceb 100644
--- a/tests/suite/math/call.typ
+++ b/tests/suite/math/call.typ
@@ -221,6 +221,15 @@ $
// Hint: 4-6 or if you meant to display this as text, try placing it in quotes: `"ab"`
$ 5ab $
+--- math-call-symbol ---
+$ phi(x) $
+$ phi(x, y) $
+$ phi(1,2,,3,) $
+
+--- math-call-symbol-named-argument ---
+// Error: 10-18 unexpected argument: alpha
+$ phi(x, alpha: y) $
+
--- issue-3774-math-call-empty-2d-args ---
$ mat(;,) $
// Add some whitespace/trivia: