diff options
| author | Veikka Tuominen <git@vexu.eu> | 2022-12-18 19:33:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-18 19:33:15 +0200 |
| commit | 40ed6ae8469fd599f0524d294f38365c3bb8a825 (patch) | |
| tree | 6e37bbb58fef1ca3aae06e65e179dfa017cb7929 /test/behavior/tuple_declarations.zig | |
| parent | e9e804edc899d8392c9f93a19b92be603c26df79 (diff) | |
| parent | 2a5e1426aa9469fadb78e837d0100d689213b034 (diff) | |
| download | zig-40ed6ae8469fd599f0524d294f38365c3bb8a825.tar.gz zig-40ed6ae8469fd599f0524d294f38365c3bb8a825.zip | |
Merge pull request #13930 from r00ster91/renamings
std.builtin: renamings
Diffstat (limited to 'test/behavior/tuple_declarations.zig')
| -rw-r--r-- | test/behavior/tuple_declarations.zig | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/behavior/tuple_declarations.zig b/test/behavior/tuple_declarations.zig index 7beab1ca8f..87d4997c8b 100644 --- a/test/behavior/tuple_declarations.zig +++ b/test/behavior/tuple_declarations.zig @@ -20,13 +20,13 @@ test "tuple declaration type info" { try expect(info.is_tuple); try expectEqualStrings(info.fields[0].name, "0"); - try expect(info.fields[0].field_type == u32); + try expect(info.fields[0].type == u32); try expect(@ptrCast(*const u32, @alignCast(@alignOf(u32), info.fields[0].default_value)).* == 1); try expect(info.fields[0].is_comptime); try expect(info.fields[0].alignment == 2); try expectEqualStrings(info.fields[1].name, "1"); - try expect(info.fields[1].field_type == []const u8); + try expect(info.fields[1].type == []const u8); try expect(info.fields[1].default_value == null); try expect(!info.fields[1].is_comptime); try expect(info.fields[1].alignment == @alignOf([]const u8)); @@ -44,13 +44,13 @@ test "tuple declaration type info" { try expect(info.is_tuple); try expectEqualStrings(info.fields[0].name, "0"); - try expect(info.fields[0].field_type == u1); + try expect(info.fields[0].type == u1); try expectEqualStrings(info.fields[1].name, "1"); - try expect(info.fields[1].field_type == u30); + try expect(info.fields[1].type == u30); try expectEqualStrings(info.fields[2].name, "2"); - try expect(info.fields[2].field_type == u1); + try expect(info.fields[2].type == u1); } } |
