tests/test-check-code.t
changeset 32225 c68c400d0a2d
parent 32202 ded48ad55146
child 32230 73c3e226d2fc
equal deleted inserted replaced
32224:6b582f9b6e5e 32225:c68c400d0a2d
     7 New errors are not allowed. Warnings are strongly discouraged.
     7 New errors are not allowed. Warnings are strongly discouraged.
     8 (The writing "no-che?k-code" is for not skipping this file when checking.)
     8 (The writing "no-che?k-code" is for not skipping this file when checking.)
     9 
     9 
    10   $ hg locate -X contrib/python-zstandard -X hgext/fsmonitor/pywatchman |
    10   $ hg locate -X contrib/python-zstandard -X hgext/fsmonitor/pywatchman |
    11   > sed 's-\\-/-g' | "$check_code" --warnings --per-file=0 - || false
    11   > sed 's-\\-/-g' | "$check_code" --warnings --per-file=0 - || false
    12   contrib/perf.py:868:
    12   contrib/perf.py:867:
    13    >             r.revision(r.node(x))
    13    >             r.revision(r.node(x))
    14    don't convert rev to node before passing to revision(nodeorrev)
    14    don't convert rev to node before passing to revision(nodeorrev)
    15   Skipping i18n/polib.py it has no-che?k-code (glob)
    15   Skipping i18n/polib.py it has no-che?k-code (glob)
    16   Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
    16   Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
    17   Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
    17   Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)