Skip to content

Commit d4699e9

Browse files
authored
Add regression tests for doc comment attribute formatting (#8613)
Signed-off-by: Christoph Knittel <ck@cca.io>
1 parent 56fe3bc commit d4699e9

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/** Doc comment */
2+
@a @b
3+
external f: unit => unit = "f"
4+
5+
/* Normal comment */
6+
@a @b
7+
external f: unit => unit = "f"
8+
9+
/**
10+
Doc comment Doc comment Doc comment Doc comment Doc comment
11+
Doc comment Doc comment Doc comment Doc comment Doc comment
12+
*/
13+
@a @b
14+
external f: unit => unit = "f"
15+
16+
/*
17+
Normal comment Normal comment Normal comment Normal comment Normal comment
18+
Normal comment Normal comment Normal comment Normal comment Normal comment
19+
*/
20+
@a @b
21+
external f: unit => unit = "f"
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/** Doc comment */
2+
@a @b
3+
external f: unit => unit = "f"
4+
5+
/* Normal comment */
6+
@a @b
7+
external f: unit => unit = "f"
8+
9+
/**
10+
Doc comment Doc comment Doc comment Doc comment Doc comment
11+
Doc comment Doc comment Doc comment Doc comment Doc comment
12+
*/
13+
@a @b
14+
external f: unit => unit = "f"
15+
16+
/*
17+
Normal comment Normal comment Normal comment Normal comment Normal comment
18+
Normal comment Normal comment Normal comment Normal comment Normal comment
19+
*/
20+
@a @b
21+
external f: unit => unit = "f"

0 commit comments

Comments
 (0)