summaryrefslogtreecommitdiff
path: root/tests/suite
diff options
context:
space:
mode:
Diffstat (limited to 'tests/suite')
-rw-r--r--tests/suite/text/raw.typ15
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/suite/text/raw.typ b/tests/suite/text/raw.typ
index dce77fdb..6a3ea6bd 100644
--- a/tests/suite/text/raw.typ
+++ b/tests/suite/text/raw.typ
@@ -624,7 +624,20 @@ fn main() {
~~~~The~spaces~on~this~line~shrink
+--- issue-3820-raw-space-when-end-with-backtick ---
+```typ
+`code`
+```
+
+ ```typ
+ `code`
+ ```
+
--- raw-unclosed ---
-// Unterminated.
+// Test unterminated raw text.
+//
+// Note: This test should be the final one in the file because it messes up
+// syntax highlighting.
+//
// Error: 1-2:1 unclosed raw text
`endless