diff --git a/astgen_test.zig b/astgen_test.zig index 34bb9a16ad..18ed026436 100644 --- a/astgen_test.zig +++ b/astgen_test.zig @@ -848,6 +848,11 @@ fn corpusCheck(gpa: Allocator, name: []const u8, source: [:0]const u8) !void { } } +test "astgen: corpus test_all.zig" { + const gpa = std.testing.allocator; + try corpusCheck(gpa, "test_all.zig", @embedFile("test_all.zig")); +} + test "astgen: corpus" { if (true) return error.SkipZigTest; const gpa = std.testing.allocator;