Chore: explicitly set compilation kind (#184)

Co-authored-by: ykiko <ykikoykikoykiko@gmail.com>
This commit is contained in:
Shiyu
2025-08-24 00:57:53 +08:00
committed by GitHub
parent 5f8a577e26
commit cbb210c027
8 changed files with 60 additions and 54 deletions

View File

@@ -30,8 +30,7 @@ struct Bar {
)";
tester.add_main("main.cpp", content);
tester.compile_with_pch();
expect(that % tester.compile_with_pch() == true);
expect(that % tester.unit->top_level_decls().size() == 4);
};