summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-08-15 21:59:08 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-08-15 21:59:08 -0400
commita27c05b4415fa8b8eee10c134e8be6af6bbc9909 (patch)
tree1a2b32c62fdd04e3b1246ce639dccd2ce27b7a3d /tools
parent3b71481c7b2583dcdca3ca9fd9fcc8e0de22f62b (diff)
Remove trailing whitespace when using Allman style braces
Diffstat (limited to 'tools')
-rw-r--r--tools/odinfmt/tests/allman/.snapshots/switch.odin6
-rw-r--r--tools/odinfmt/tests/allman/.snapshots/when.odin4
2 files changed, 5 insertions, 5 deletions
diff --git a/tools/odinfmt/tests/allman/.snapshots/switch.odin b/tools/odinfmt/tests/allman/.snapshots/switch.odin
index 10f6faf..9e73da7 100644
--- a/tools/odinfmt/tests/allman/.snapshots/switch.odin
+++ b/tools/odinfmt/tests/allman/.snapshots/switch.odin
@@ -1,16 +1,16 @@
package allman
-main :: proc()
+main :: proc()
{
num := 1
- switch num
+ switch num
{
case 0:
case 1:
}
- switch num
+ switch num
{
case 0:
case 1:
diff --git a/tools/odinfmt/tests/allman/.snapshots/when.odin b/tools/odinfmt/tests/allman/.snapshots/when.odin
index f34307f..1f489a3 100644
--- a/tools/odinfmt/tests/allman/.snapshots/when.odin
+++ b/tools/odinfmt/tests/allman/.snapshots/when.odin
@@ -1,10 +1,10 @@
package allman
-main :: proc()
+main :: proc()
{
TEST_BOOL := false
- when TEST_BOOL
+ when TEST_BOOL
{
}
}