summaryrefslogtreecommitdiff
path: root/tests/typ/code/comment.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/code/comment.typ')
-rw-r--r--tests/typ/code/comment.typ12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/typ/code/comment.typ b/tests/typ/code/comment.typ
index 407bebd4..db0a17a4 100644
--- a/tests/typ/code/comment.typ
+++ b/tests/typ/code/comment.typ
@@ -5,7 +5,7 @@
A// you
B
-// Block comment does not act as spacing.
+// Block comment does not act as spacing, nested block comments.
C/*
/* */
*/D
@@ -14,6 +14,16 @@ C/*
#test(type(/*1*/ 1) //
, "integer")
+// End of block comment in line comment.
+// Hello */
+
+// Nested line comment.
+/*//*/
+Still comment.
+*/
+
+E
+
---
// Line comments have a special case for URLs.
https://example.com \