diff --git a/src/expectSimilarType.zig b/src/expectSimilarType.zig index 80c99e4424064bac04e5321a071aa78bcc57bf9c..7353d8116870b296966942565e7f224fbcc25a27 100644 --- a/src/expectSimilarType.zig +++ b/src/expectSimilarType.zig @@ -15,10 +15,6 @@ pub fn expectSimilarType(comptime A: type, comptime B: type) !void { try std.testing.expect(info_a_s.is_tuple == info_b_s.is_tuple); try std.testing.expect(info_a_s.backing_integer == info_b_s.backing_integer); - for (info_a_s.decls, info_b_s.decls) |da, db| { - try std.testing.expect(std.mem.eql(u8, da.name, db.name)); - } - inline for (info_a_s.fields, info_b_s.fields) |fa, fb| { try std.testing.expect(std.mem.eql(u8, fa.name, fb.name)); try std.testing.expect(fa.type == fb.type); @@ -35,10 +31,6 @@ pub fn expectSimilarType(comptime A: type, comptime B: type) !void { try std.testing.expect(info_a_u.layout == info_b_u.layout); try expectSimilarType(info_a_u.tag_type.?, info_b_u.tag_type.?); - for (info_a_u.decls, info_b_u.decls) |da, db| { - try std.testing.expect(std.mem.eql(u8, da.name, db.name)); - } - inline for (info_a_u.fields, info_b_u.fields) |fa, fb| { try std.testing.expect(std.mem.eql(u8, fa.name, fb.name)); try std.testing.expect(fa.type == fb.type); @@ -54,10 +46,6 @@ pub fn expectSimilarType(comptime A: type, comptime B: type) !void { try std.testing.expect(info_a_e.tag_type == info_b_e.tag_type); try std.testing.expect(info_a_e.is_exhaustive == info_b_e.is_exhaustive); - for (info_a_e.decls, info_b_e.decls) |da, db| { - try std.testing.expect(std.mem.eql(u8, da.name, db.name)); - } - inline for (info_a_e.fields, info_b_e.fields) |fa, fb| { try std.testing.expect(std.mem.eql(u8, fa.name, fb.name)); try std.testing.expect(fa.value == fb.value);