Crafter.Build/tests/Lint
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf fe25d7aeff
test(lint): the ast and ast-module cases pass only when their rule ran
RunLint calls a rule that reads the AST only on a file it could parse,
so when the parse failed, the checks inside the "ast" and "ast-module"
rules went untried, and the test, which read nothing of the run but
those checks, passed. That is how the "ast" case, whose file includes
<string>, passed in crafter-build's Flatpak with #46 open: lint printed
"'string' file not found" for that file, and the test exited 0. Both
cases now also check that their rule ran and that the run had no error.
2026-11-27 16:16:38 +01:00
..
fixture feat(lint): AST layer over libclang cursors 2026-07-30 23:30:41 +02:00
main.cpp test(lint): the ast and ast-module cases pass only when their rule ran 2026-11-27 16:16:38 +01:00