diff options
| author | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-08-15 21:59:08 -0400 |
|---|---|---|
| committer | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-08-15 21:59:08 -0400 |
| commit | a27c05b4415fa8b8eee10c134e8be6af6bbc9909 (patch) | |
| tree | 1a2b32c62fdd04e3b1246ce639dccd2ce27b7a3d /tools | |
| parent | 3b71481c7b2583dcdca3ca9fd9fcc8e0de22f62b (diff) | |
Remove trailing whitespace when using Allman style braces
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/odinfmt/tests/allman/.snapshots/switch.odin | 6 | ||||
| -rw-r--r-- | tools/odinfmt/tests/allman/.snapshots/when.odin | 4 |
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 { } } |