diff --git a/astgen_test.zig b/astgen_test.zig index 157c019580..d567816ac3 100644 --- a/astgen_test.zig +++ b/astgen_test.zig @@ -993,6 +993,18 @@ test "astgen: corpus test_all.zig" { // try corpusCheck(gpa, "build.zig", @embedFile("build.zig")); // } +test "astgen: corpus tokenizer_test.zig" { + if (true) return error.SkipZigTest; // TODO: needs ref_coerced_ty + const gpa = std.testing.allocator; + try corpusCheck(gpa, "tokenizer_test.zig", @embedFile("tokenizer_test.zig")); +} + +test "astgen: corpus astgen_test.zig" { + if (true) return error.SkipZigTest; // TODO: 1 missing dbg_stmt, extra_len mismatch + const gpa = std.testing.allocator; + try corpusCheck(gpa, "astgen_test.zig", @embedFile("astgen_test.zig")); +} + test "astgen: enum decl" { const gpa = std.testing.allocator; const source: [:0]const u8 = "const E = enum { a, b, c };";