comparison tests/test-patch-offset.t @ 42522:c70bdd222dcd

tests: bulk changes to avoid whitespace errors of check-code.py This is a part of preparation to apply checking with check-code.py on code fragments embedded in *.t test scripts. This revision avoids "whitespace" errors of check-code.py below: - missing whitespace after "," - missing whitespace in expression - no whitespace around "=" for named parameters - wrong whitespace around "="
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Mon, 18 Feb 2019 00:27:25 +0900
parents 5abc47d4ca6b
children
comparison
equal deleted inserted replaced
42521:cab32f08c994 42522:c70bdd222dcd
7 > 7 >
8 > fp = open(path, 'wb') 8 > fp = open(path, 'wb')
9 > for pattern in patterns: 9 > for pattern in patterns:
10 > count = int(pattern[0:-1]) 10 > count = int(pattern[0:-1])
11 > char = pattern[-1].encode('utf8') + b'\n' 11 > char = pattern[-1].encode('utf8') + b'\n'
12 > fp.write(char*count) 12 > fp.write(char * count)
13 > fp.close() 13 > fp.close()
14 > EOF 14 > EOF
15 15
16 prepare repo 16 prepare repo
17 17