summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNaim A <227396+naim94a@users.noreply.github.com>2023-03-30 00:07:08 +0300
committerGitHub <noreply@github.com>2023-03-29 23:07:08 +0200
commit2ed4212c760701e308dcf6c740720d18e8f2dbf1 (patch)
tree652bdb71c5b27becb50f76bc5d9097ef966c2079 /tests
parentf04b6ebc1a17e22596c16158042030f910b85559 (diff)
bail! when #symbol is called without parameters (#440)
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/compute/construct.typ4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/typ/compute/construct.typ b/tests/typ/compute/construct.typ
index dc146719..ee0a24b0 100644
--- a/tests/typ/compute/construct.typ
+++ b/tests/typ/compute/construct.typ
@@ -58,6 +58,10 @@
#envelope.fly
---
+// Error: 8-10 expected at least one variant
+#symbol()
+
+---
// Test conversion to string.
#test(str(123), "123")
#test(str(50.14), "50.14")