Mercurial > hg
view tests/test-check-jshint.t @ 35311:12ce62c72c24
patch: catch unexpected case in _inlinediff
If operation is neither 'diff.inserted' or 'diff.deleted', label and token won't
be define. This patch explicitely catches that exception.
author | Matthieu Laneuville <matthieu.laneuville@octobus.net> |
---|---|
date | Fri, 08 Dec 2017 16:54:59 +0900 |
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