tests/test-check-code.t
changeset 31825 6c7a58d3ca5d
parent 31823 f6d77af84ef3
child 31990 3e03a4b9ec8c
--- a/tests/test-check-code.t	Thu Apr 06 22:08:23 2017 -0700
+++ b/tests/test-check-code.t	Thu Apr 06 22:10:46 2017 -0700
@@ -8,7 +8,7 @@
 (The writing "no-che?k-code" is for not skipping this file when checking.)
 
   $ hg locate -X contrib/python-zstandard -X hgext/fsmonitor/pywatchman |
-  > sed 's-\\-/-g' | xargs "$check_code" --warnings --per-file=0 || false
+  > sed 's-\\-/-g' | "$check_code" --warnings --per-file=0 - || false
   contrib/perf.py:869:
    >             r.revision(r.node(x))
    don't convert rev to node before passing to revision(nodeorrev)