diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-01-13 15:44:41 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-01-13 15:44:41 +0100 |
| commit | 1d01b93f679bccf8f228616bcf0f0ebcdee64d98 (patch) | |
| tree | 3fa476cf5f783fcbb22614e0b7b53cb25a398b91 /tests/typ | |
| parent | 60154474ba1cf4a556bbed7f80ee0947c29dbca8 (diff) | |
Move comment tests to integration 🚚
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/comments.typ | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/typ/comments.typ b/tests/typ/comments.typ new file mode 100644 index 00000000..0dfb4b8e --- /dev/null +++ b/tests/typ/comments.typ @@ -0,0 +1,23 @@ +// Test interaction with words, spacing and expressions. + +A// you +B + +C/* + /* */ +*/D + +[dump /*1*/ a: "b" // +, 1] + +--- +// Test error. +// +// ref: false +// error: 3:7-3:9 unexpected end of block comment + +// No start of block comment. +/* */ */ + +// Unterminated block comment is okay. +/* |
