##// END OF EJS Templates
py3: use print as a function in test-convert-git.t...
py3: use print as a function in test-convert-git.t Differential Revision: https://phab.mercurial-scm.org/D3278

File last commit:

r37201:0024961a default
r37598:1c3c9211 default
Show More
test-check-clang-format.t
10 lines | 344 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 **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist"'` ; do
> clang-format --style file $f > $f.formatted
> cmp $f $f.formatted || diff -u $f $f.formatted
> rm $f.formatted
> done