summaryrefslogtreecommitdiff
path: root/tests/typ/code/closure.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-04-13 13:07:45 +0200
committerLaurenz <laurmaedje@gmail.com>2022-04-13 13:08:46 +0200
commit2279c26543f7edde910fd89a3f8f0710c67249db (patch)
treee9dfaa89954a4e61ffe2ca7a35be251946b14ad4 /tests/typ/code/closure.typ
parente8dd842c6699c665225c03e904a40887f8424e30 (diff)
Smart quotes
Co-Authored-By: Martin Haug <mhaug@live.de>
Diffstat (limited to 'tests/typ/code/closure.typ')
-rw-r--r--tests/typ/code/closure.typ7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/typ/code/closure.typ b/tests/typ/code/closure.typ
index 5524ba99..29fca404 100644
--- a/tests/typ/code/closure.typ
+++ b/tests/typ/code/closure.typ
@@ -5,11 +5,10 @@
// Don't parse closure directly in content.
// Ref: true
-#let x = "\"hi\""
+#let x = "x"
-// Should output `"hi" => "bye"`.
-#set text(overhang: false)
-#x => "bye"
+// Should output `x => y`.
+#x => y
---
// Basic closure without captures.