aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/odinfmt/tests/.snapshots/comments.odin7
-rw-r--r--tools/odinfmt/tests/comments.odin7
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