| ... | @@ -4189,19 +4189,18 @@ test "zig fmt: respect extra newline between fn and pub usingnamespace" { | ... | @@ -4189,19 +4189,18 @@ test "zig fmt: respect extra newline between fn and pub usingnamespace" { |
| 4189 | ); | 4189 | ); |
| 4190 | } | 4190 | } |
| 4191 | | 4191 | |
| 4192 | // TODO | 4192 | test "zig fmt: respect extra newline between switch items" { |
| 4193 | //test "zig fmt: respect extra newline between switch items" { | 4193 | try testCanonical( |
| 4194 | // try testCanonical( | 4194 | \\const a = switch (b) { |
| 4195 | // \\const a = switch (b) { | 4195 | \\ .c => {}, |
| 4196 | // \\ .c => {}, | 4196 | \\ |
| 4197 | // \\ | 4197 | \\ .d, |
| 4198 | // \\ .d, | 4198 | \\ .e, |
| 4199 | // \\ .e, | 4199 | \\ => f, |
| 4200 | // \\ => f, | 4200 | \\}; |
| 4201 | // \\}; | 4201 | \\ |
| 4202 | // \\ | 4202 | ); |
| 4203 | // ); | 4203 | } |
| 4204 | //} | | |
| 4205 | | 4204 | |
| 4206 | test "zig fmt: error for invalid bit range" { | 4205 | test "zig fmt: error for invalid bit range" { |
| 4207 | try testError( | 4206 | try testError( |