Mercurial > hg
view tests/test-check-clang-format.t @ 40370:3b84ef904aea
py3: fix module imports in test-highlight.t
The hash changes are because the *.py file is committed to the repo.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 18 Oct 2018 18:11:16 -0400 |
parents | 0024961aa493 |
children |
line wrap: on
line source
#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