tests/test-check-clang-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 06 Mar 2019 11:43:21 +0100
changeset 41874 4da2261e949b
parent 37186 0024961aa493
permissions -rw-r--r--
verify: add some inline documentation to the top level `verify` method The goal is to clarify each section goal.

#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