summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/bugs/fold-vector.typ20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/typ/bugs/fold-vector.typ b/tests/typ/bugs/fold-vector.typ
new file mode 100644
index 00000000..5d57ad33
--- /dev/null
+++ b/tests/typ/bugs/fold-vector.typ
@@ -0,0 +1,20 @@
+// Test fold order of vectors.
+
+---
+#set text(features: (liga: 1))
+#set text(features: (liga: 0))
+fi
+
+---
+#underline(stroke: aqua + 4pt)[
+ #underline[Hello]
+]
+
+---
+#let c = counter("mycounter")
+#c.update(1)
+#locate(loc => [
+ #c.update(2)
+ #c.at(loc) \
+ Second: #locate(loc => c.at(loc))
+])