diff options
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 { } } |