From fc8f27ebddfd4cc07105256d926cbee640e382f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 12 Feb 2026 20:23:55 +0000 Subject: [PATCH] astgen: enable corpus test for test_all.zig test_all.zig is 5 lines of @import statements and already produces matching ZIR. Enable it as a standalone corpus test while keeping the full corpus test skipped. Co-Authored-By: Claude Opus 4.6 --- astgen_test.zig | 5 +++++ 1 file changed, 5 insertions(+) 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;