Mercurial > hg-stable
diff tests/test-mq-missingfiles.t @ 41747: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 | 13ccb03f2145 |
children | fe3303436b79 |
line wrap: on
line diff
--- a/tests/test-mq-missingfiles.t Mon Feb 18 00:27:25 2019 +0900 +++ b/tests/test-mq-missingfiles.t Mon Feb 18 00:27:25 2019 +0900 @@ -15,10 +15,10 @@ > > f = open(path, 'wb') > for i in range(len(args) // 2): - > count, s = args[2*i:2*i+2] + > count, s = args[2 * i:2 * i + 2] > count = int(count) > s = encode(s) - > f.write(s*count) + > f.write(s * count) > f.close() > EOF