| ... | @@ -423,16 +423,16 @@ test "zig fmt: sentinel slice with modifiers" { | ... | @@ -423,16 +423,16 @@ test "zig fmt: sentinel slice with modifiers" { |
| 423 | ); | 423 | ); |
| 424 | } | 424 | } |
| 425 | | 425 | |
| 426 | //test "zig fmt: anon literal in array" { | 426 | test "zig fmt: anon literal in array" { |
| 427 | // try testCanonical( | 427 | try testCanonical( |
| 428 | // \\var arr: [2]Foo = .{ | 428 | \\var arr: [2]Foo = .{ |
| 429 | // \\ .{ .a = 2 }, | 429 | \\ .{ .a = 2 }, |
| 430 | // \\ .{ .b = 3 }, | 430 | \\ .{ .b = 3 }, |
| 431 | // \\}; | 431 | \\}; |
| 432 | // \\ | 432 | \\ |
| 433 | // ); | 433 | ); |
| 434 | //} | 434 | } |
| 435 | // | 435 | |
| 436 | //test "zig fmt: alignment in anonymous literal" { | 436 | //test "zig fmt: alignment in anonymous literal" { |
| 437 | // try testTransform( | 437 | // try testTransform( |
| 438 | // \\const a = .{ | 438 | // \\const a = .{ |
| ... | @@ -751,12 +751,12 @@ test "zig fmt: tagged union with enum values" { | ... | @@ -751,12 +751,12 @@ test "zig fmt: tagged union with enum values" { |
| 751 | ); | 751 | ); |
| 752 | } | 752 | } |
| 753 | | 753 | |
| 754 | //test "zig fmt: allowzero pointer" { | 754 | test "zig fmt: allowzero pointer" { |
| 755 | // try testCanonical( | 755 | try testCanonical( |
| 756 | // \\const T = [*]allowzero const u8; | 756 | \\const T = [*]allowzero const u8; |
| 757 | // \\ | 757 | \\ |
| 758 | // ); | 758 | ); |
| 759 | //} | 759 | } |
| 760 | | 760 | |
| 761 | test "zig fmt: enum literal" { | 761 | test "zig fmt: enum literal" { |
| 762 | try testCanonical( | 762 | try testCanonical( |
| ... | @@ -806,13 +806,13 @@ test "zig fmt: character literal larger than u8" { | ... | @@ -806,13 +806,13 @@ test "zig fmt: character literal larger than u8" { |
| 806 | // \\ | 806 | // \\ |
| 807 | // ); | 807 | // ); |
| 808 | //} | 808 | //} |
| 809 | // | 809 | |
| 810 | //test "zig fmt: C pointers" { | 810 | test "zig fmt: C pointers" { |
| 811 | // try testCanonical( | 811 | try testCanonical( |
| 812 | // \\const Ptr = [*c]i32; | 812 | \\const Ptr = [*c]i32; |
| 813 | // \\ | 813 | \\ |
| 814 | // ); | 814 | ); |
| 815 | //} | 815 | } |
| 816 | | 816 | |
| 817 | test "zig fmt: threadlocal" { | 817 | test "zig fmt: threadlocal" { |
| 818 | try testCanonical( | 818 | try testCanonical( |