From 1d01b93f679bccf8f228616bcf0f0ebcdee64d98 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 13 Jan 2021 15:44:41 +0100 Subject: =?UTF-8?q?Move=20comment=20tests=20to=20integration=20?= =?UTF-8?q?=F0=9F=9A=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/typ/comments.typ | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/typ/comments.typ (limited to 'tests/typ') 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. +/* -- cgit v1.2.3