tests/test-histedit-arguments.t
changeset 39707 5abc47d4ca6b
parent 37106 3d3cff1f6bde
child 41146 fbd168455b26
equal deleted inserted replaced
39706:030d558c6456 39707:5abc47d4ca6b
   277   [255]
   277   [255]
   278 
   278 
   279 Test that trimming description using multi-byte characters
   279 Test that trimming description using multi-byte characters
   280 --------------------------------------------------------------------
   280 --------------------------------------------------------------------
   281 
   281 
   282   $ $PYTHON <<EOF
   282   $ "$PYTHON" <<EOF
   283   > fp = open('logfile', 'wb')
   283   > fp = open('logfile', 'wb')
   284   > fp.write(b'12345678901234567890123456789012345678901234567890' +
   284   > fp.write(b'12345678901234567890123456789012345678901234567890' +
   285   >          b'12345') # there are 5 more columns for 80 columns
   285   >          b'12345') # there are 5 more columns for 80 columns
   286   > 
   286   > 
   287   > # 2 x 4 = 8 columns, but 3 x 4 = 12 bytes
   287   > # 2 x 4 = 8 columns, but 3 x 4 = 12 bytes