From 22e930dce609fe5c06c98701b81a8b0ac7f7ca30 Mon Sep 17 00:00:00 2001 From: Miki Rozloznik Date: Fri, 14 Oct 2022 15:36:20 +0200 Subject: [PATCH] [#32] Improve language comments tests --- .../comments/zs/comments/markdown_doc/union_comments.zs | 2 +- .../comments/zs/comments/mixed_doc/struct_comments.zs | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/test/language/comments/zs/comments/markdown_doc/union_comments.zs b/test/language/comments/zs/comments/markdown_doc/union_comments.zs index f99823255..10b82012d 100644 --- a/test/language/comments/zs/comments/markdown_doc/union_comments.zs +++ b/test/language/comments/zs/comments/markdown_doc/union_comments.zs @@ -16,7 +16,7 @@ See [Direction](../markdown_doc/enum_comments.zs#Direction) page. **Deprecated!** -!*/ + !*/ // space is intentional to check trailing space (empty paragraph) at the end union TestUnion(bool case1Allowed) { /*! This is a comment for **case1Field**. !*/ diff --git a/test/language/comments/zs/comments/mixed_doc/struct_comments.zs b/test/language/comments/zs/comments/mixed_doc/struct_comments.zs index 384288c1b..8dcf3f60a 100644 --- a/test/language/comments/zs/comments/mixed_doc/struct_comments.zs +++ b/test/language/comments/zs/comments/mixed_doc/struct_comments.zs @@ -8,8 +8,9 @@ Traffic flow on links. !*/ -/** - * This is additional classic documentation comment. +/* + * This is standard comment which will be ignored. This means that there is only one floating comment and no + * sticky comment. This is intentional to check correctness of sticky comments filtering. */ enum bit:2 Direction {