summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-07-08 19:37:38 +0200
committerLaurenz <laurmaedje@gmail.com>2021-07-08 19:37:38 +0200
commitf85e5aac64784deac75950a1307f2ca802ad6765 (patch)
tree95d1082a4efd3451cfe669f3a687d0aa8b0a4d0d /tests/typ
parent5a500fb8a7c0ba4b8a59e2622c8cbafdc4ce1fe9 (diff)
URL special case for line comments
Diffstat (limited to 'tests/typ')
-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
/* */ */