diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-06-20 17:16:27 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-06-20 17:16:27 -0400 |
| commit | e891f9cd9dc52b4bc63ae63115822fbf5e724348 (patch) | |
| tree | 04db0f7f5ae715cab83eaa496861be16161998cc /test | |
| parent | 6bd861006377ba192d5bd108a0de1e94f32c2454 (diff) | |
| download | zig-e891f9cd9dc52b4bc63ae63115822fbf5e724348.tar.gz zig-e891f9cd9dc52b4bc63ae63115822fbf5e724348.zip | |
zig fmt
Diffstat (limited to 'test')
| -rw-r--r-- | test/cases/null.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cases/null.zig b/test/cases/null.zig index d2a9aaed55..c86dd34b06 100644 --- a/test/cases/null.zig +++ b/test/cases/null.zig @@ -146,7 +146,7 @@ test "null with default unwrap" { test "optional types" { comptime { - const opt_type_struct = StructWithOptionalType { .t=u8, }; + const opt_type_struct = StructWithOptionalType{ .t = u8 }; assert(opt_type_struct.t != null and opt_type_struct.t.? == u8); } } |
