tests/test-patchbomb.t
changeset 48876 42d2b31cee0b
parent 48874 af0b21d5a930
child 49877 950c39918bd2
child 50246 a6b497872b97
equal deleted inserted replaced
48875:6000f5b25c9b 48876:42d2b31cee0b
     6 /mixed; boundary="===+[0-9]+==" -> /mixed; boundary="===*== (glob)"
     6 /mixed; boundary="===+[0-9]+==" -> /mixed; boundary="===*== (glob)"
     7 --===+[0-9]+=+--$ -> --===*=-- (glob)
     7 --===+[0-9]+=+--$ -> --===*=-- (glob)
     8 --===+[0-9]+=+$ -> --===*= (glob)
     8 --===+[0-9]+=+$ -> --===*= (glob)
     9 
     9 
    10   $ cat > prune-blank-after-boundary.py <<EOF
    10   $ cat > prune-blank-after-boundary.py <<EOF
    11   > from __future__ import absolute_import, print_function
       
    12   > import sys
    11   > import sys
    13   > skipblank = False
    12   > skipblank = False
    14   > trim = lambda x: x.strip(' \r\n')
    13   > trim = lambda x: x.strip(' \r\n')
    15   > for l in sys.stdin:
    14   > for l in sys.stdin:
    16   >     if trim(l).endswith('=--') or trim(l).endswith('=='):
    15   >     if trim(l).endswith('=--') or trim(l).endswith('=='):