summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/code/comment.pngbin708 -> 1904 bytes
-rw-r--r--tests/typ/code/comment.typ5
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/ref/code/comment.png b/tests/ref/code/comment.png
index 6654e125..bb8bf69a 100644
--- a/tests/ref/code/comment.png
+++ b/tests/ref/code/comment.png
Binary files differ
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
/* */ */