tests/test-check-jshint.t
author Denis Laxalde <denis.laxalde@logilab.fr>
Wed, 06 Nov 2019 16:53:01 +0100
branchstable
changeset 43424 7cc913396f8c
parent 35605 45a816361926
permissions -rw-r--r--
py3: keep "keypressed" a native str in crecord This will help in the next changeset by avoiding a decode step. Also, the actual bytes conversion seems superfluous since values coming from curses's getkey() will be a native string. As a consequence, we open the "testcommands" file (used in test-interactive-curses.t) in text mode.

#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