diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/code/comment.png | bin | 708 -> 1904 bytes | |||
| -rw-r--r-- | tests/typ/code/comment.typ | 5 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/ref/code/comment.png b/tests/ref/code/comment.png Binary files differindex 6654e125..bb8bf69a 100644 --- a/tests/ref/code/comment.png +++ b/tests/ref/code/comment.png 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 /* */ */ |
