diff options
| author | nico-bb <64324649+nico-bb@users.noreply.github.com> | 2022-07-31 06:10:32 +0200 |
|---|---|---|
| committer | nico-bb <64324649+nico-bb@users.noreply.github.com> | 2022-07-31 06:10:32 +0200 |
| commit | 189f71a90fcbc7afc024a6cff63822eb74c405e9 (patch) | |
| tree | 057280a234464c432519be6d2e7e2e900c63d5af /tools/odinfmt/tests | |
| parent | 390518e86e674829dcfab0eb785596f0b9b1505b (diff) | |
cons refactor and another attempt at comment alignment with block stmt
Diffstat (limited to 'tools/odinfmt/tests')
| -rw-r--r-- | tools/odinfmt/tests/.snapshots/comments.odin | 7 | ||||
| -rw-r--r-- | tools/odinfmt/tests/comments.odin | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tools/odinfmt/tests/.snapshots/comments.odin b/tools/odinfmt/tests/.snapshots/comments.odin index d872984..262d80e 100644 --- a/tools/odinfmt/tests/.snapshots/comments.odin +++ b/tools/odinfmt/tests/.snapshots/comments.odin @@ -33,3 +33,10 @@ line_comments_one_line_seperation :: proc() { //More comments YAY + +bracket_comments_alignment :: proc() { + { // Describe block + a := 10 + // etc.. + } +} diff --git a/tools/odinfmt/tests/comments.odin b/tools/odinfmt/tests/comments.odin index f4e5b06..a7bea72 100644 --- a/tools/odinfmt/tests/comments.odin +++ b/tools/odinfmt/tests/comments.odin @@ -33,3 +33,10 @@ line_comments_one_line_seperation :: proc() { //More comments YAY + +bracket_comments_alignment :: proc() { + { // Describe block + a := 10 + // etc.. + } +}
\ No newline at end of file |