##// END OF EJS Templates
tests: add more wildcards to test-extdiff.t...
tests: add more wildcards to test-extdiff.t The diff tool (which is `echo`) runs in the background and output order can therefore be non-deterministic. We need to glob over the file names to account for this. Differential Revision: https://phab.mercurial-scm.org/D5976

File last commit:

r35623:45a81636 default
r41861:88d4477a default
Show More
test-check-jshint.t
11 lines | 250 B | text/troff | Tads3Lexer
/ tests / test-check-jshint.t
av6
tests: use jshint when available to check .js files
r35034 #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' \
> 2>/dev/null \
> | xargs jshint