summaryrefslogtreecommitdiff
path: root/tests/typ/code/methods.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/code/methods.typ')
-rw-r--r--tests/typ/code/methods.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/code/methods.typ b/tests/typ/code/methods.typ
index b5eff78d..f5db8ca0 100644
--- a/tests/typ/code/methods.typ
+++ b/tests/typ/code/methods.typ
@@ -21,9 +21,9 @@
.map(s => s.trim())
.filter(s => s != "")
.map(s => s + "!")
- .join([\ ])
+ .join("\n ")
- test(rewritten, [Hello!\ This is a sentence!\ And one more!])
+ test(rewritten, "Hello!\n This is a sentence!\n And one more!")
}
---