Fixed review commented code

master
Jimmi Holst Christensen 2018-03-31 14:00:49 +02:00
parent 5118caf5ab
commit 596f4b6002
1 changed files with 4 additions and 4 deletions

View File

@ -1750,9 +1750,9 @@ test "zig fmt" {
try testCanonical(
\\test "test array" {
\\ const a : [2]u8 = [2]u8{ 1, 2 };
\\ const a : [2]u8 = []u8{ 1, 2 };
\\ const a : [0]u8 = []u8{};
\\ const a: [2]u8 = [2]u8{ 1, 2 };
\\ const a: [2]u8 = []u8{ 1, 2 };
\\ const a: [0]u8 = []u8{};
\\}
\\
);
@ -1782,7 +1782,7 @@ test "zig fmt" {
);
try testCanonical(
\\test "percendence" {
\\test "precendence" {
\\ a!b();
\\ (a!b)();
\\ !a!b;