From 189f71a90fcbc7afc024a6cff63822eb74c405e9 Mon Sep 17 00:00:00 2001 From: nico-bb <64324649+nico-bb@users.noreply.github.com> Date: Sun, 31 Jul 2022 06:10:32 +0200 Subject: cons refactor and another attempt at comment alignment with block stmt --- tools/odinfmt/tests/.snapshots/comments.odin | 7 +++++++ tools/odinfmt/tests/comments.odin | 7 +++++++ 2 files changed, 14 insertions(+) (limited to 'tools') 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 -- cgit v1.2.3