summaryrefslogtreecommitdiff
path: root/tests/typ/comments.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/comments.typ')
-rw-r--r--tests/typ/comments.typ13
1 files changed, 4 insertions, 9 deletions
diff --git a/tests/typ/comments.typ b/tests/typ/comments.typ
index 0dfb4b8e..56906d0c 100644
--- a/tests/typ/comments.typ
+++ b/tests/typ/comments.typ
@@ -1,22 +1,17 @@
-// Test interaction with words, spacing and expressions.
-
+// Test whether line comment acts as spacing.
A// you
B
+// Test whether block comment acts as spacing.
C/*
/* */
*/D
+// Test in expressions.
[dump /*1*/ a: "b" //
, 1]
----
-// Test error.
-//
-// ref: false
-// error: 3:7-3:9 unexpected end of block comment
-
-// No start of block comment.
+// Error: 1:7-1:9 unexpected end of block comment
/* */ */
// Unterminated block comment is okay.