view tests/test-check-jshint.t @ 35074:62e10bf001a9

test-pattern: actually update tests using the patterns We mass update the tests now. This will help the next soul touching the http protocol.
author Boris Feld <boris.feld@octobus.net>
date Sun, 05 Nov 2017 08:23:12 +0100
parents 5d4369079c86
children 45a816361926
line wrap: on
line source

#require test-repo jshint hg10

  $ . "$TESTDIR/helpers-testrepo.sh"

run jshint on all tracked files ending in .js except vendored dependencies

  $ cd "`dirname "$TESTDIR"`"

  $ testrepohg locate 'set:**.js' \
  > -X mercurial/templates/static/excanvas.js \
  > 2>/dev/null \
  > | xargs jshint