![]() The unittest case for `clang-tidy-fix` checks if the whole project is in git or not, and skips if not. Fix this by creating a temporary git repo, copy the test files and run the tests, following how `clang-format` does. It also reverts some help code introduced in the previous test. Tested: Verify the test case passes. Signed-off-by: Lei YU <yulei.sh@bytedance.com> |
||
---|---|---|
.. | ||
dummydir.h | ||
.clang-tidy | ||
cttest.cpp | ||
cttest_fixed.cpp | ||
meson.build |