summaryrefslogtreecommitdiff
path: root/tests/typ/code
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/code')
-rw-r--r--tests/typ/code/comment.typ5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/code/comment.typ b/tests/typ/code/comment.typ
index 25180211..694600d6 100644
--- a/tests/typ/code/comment.typ
+++ b/tests/typ/code/comment.typ
@@ -15,6 +15,11 @@ C/*
, "integer")
---
+// Line comments have a special case for URLs.
+https://example.com \
+https:/* block comments don't ... */
+
+---
// End should not appear without start.
// Error: 1:7-1:9 unexpected end of block comment
/* */ */