diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-01-13 17:22:33 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-01-13 17:22:33 +0100 |
| commit | c36a136e6f26ac99e58465ad072c282fe6dbaedf (patch) | |
| tree | d2c21e28033a4af68460e0159203274cb03e074a /tests/typ/comments.typ | |
| parent | 2aa4c5bfc6e35ca663aa77899975450e6a4a26de (diff) | |
Simpler diagnostic localization in tests ♻
Diffstat (limited to 'tests/typ/comments.typ')
| -rw-r--r-- | tests/typ/comments.typ | 13 |
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. |
