Mercurial > hg
view tests/test-check-clang-format.t @ 40475:8fa26f3baf30
templater: add wrapper for a single template mapping
This can be used to nest template mappings without inserting a sequence-like
layer. See the next patch for example.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 19 Oct 2018 21:11:30 +0900 |
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