##// END OF EJS Templates
tests: use jshint when available to check .js files
tests: use jshint when available to check .js files

File last commit:

r34835:2e847705 default
r35034:5d436907 default
Show More
test-check-clang-format.t
10 lines | 334 B | text/troff | Tads3Lexer
/ tests / test-check-clang-format.t
#require clang-format test-repo
$ . "$TESTDIR/helpers-testrepo.sh"
$ cd "$TESTDIR"/..
$ for f in `testrepohg files 'set:(**.c or **.h) and not "listfile:contrib/clang-format-blacklist"'` ; do
> clang-format --style file $f > $f.formatted
> cmp $f $f.formatted || diff -u $f $f.formatted
> rm $f.formatted
> done