summaryrefslogtreecommitdiff
path: root/tests/typ/code
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/code')
-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.