Skip to content

Commit

Permalink
update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
trdthg committed Jul 3, 2024
1 parent d448464 commit 6dbac8b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/format/comments.sail
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@
indent many
last line comment*/
function a () -> int = {

/* first line comment
indent many
last line comment*/

/* first line comment
indent many
last line comment*/

/* first line comment
indent many
last line comment*/
*R = baz; // comment
// comment
1// comment
Expand Down
9 changes: 9 additions & 0 deletions test/format/default/comments.expect
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ indent many
indent many
last line comment*/
function a () -> int = {
/* first line comment
indent many
last line comment*/
/* first line comment
indent many
last line comment*/
/* first line comment
indent many
last line comment*/
*R = baz; // comment

// comment
Expand Down

0 comments on commit 6dbac8b

Please sign in to comment.