summaryrefslogtreecommitdiff
path: root/tests/lang/typ/call-value.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-02-17 21:30:20 +0100
committerLaurenz <laurmaedje@gmail.com>2021-02-17 21:30:20 +0100
commit2f4dc99cec1c6fa33257dea91ab3bcd99b1cbdf5 (patch)
treeeb983e54bac5ae226474bd8c5d6a29006b00ff12 /tests/lang/typ/call-value.typ
parentdb1659a987cd240b78e45666617248d3d0cc7d64 (diff)
Refresh tests 🌊
Diffstat (limited to 'tests/lang/typ/call-value.typ')
-rw-r--r--tests/lang/typ/call-value.typ14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/lang/typ/call-value.typ b/tests/lang/typ/call-value.typ
new file mode 100644
index 00000000..0e257717
--- /dev/null
+++ b/tests/lang/typ/call-value.typ
@@ -0,0 +1,14 @@
+// Test function calls.
+// Ref: false
+
+---
+// Whitespace is insignificant.
+#test(type(1), "integer")
+#test (type (1), "integer")
+
+// From variable.
+#let alias = type
+#test(alias(alias), "function")
+
+// Returns template.
+#test(type(font(12pt)), "template")