Mercurial > public > mercurial-scm > hg
diff tests/test-bundle2-pushback.t @ 41738: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 | 9c4204b7f3e4 |
line wrap: on
line diff
--- a/tests/test-bundle2-pushback.t Mon Feb 18 00:27:25 2019 +0900 +++ b/tests/test-bundle2-pushback.t Mon Feb 18 00:27:25 2019 +0900 @@ -25,7 +25,8 @@ > b'key': b'new-server-mark', > b'old': b'', > b'new': b'tip'} - > encodedparams = [(k, pushkey.encode(v)) for (k,v) in params.items()] + > encodedparams = [(k, pushkey.encode(v)) + > for (k, v) in params.items()] > op.reply.newpart(b'pushkey', mandatoryparams=encodedparams) > else: > op.reply.newpart(b'output', data=b'pushback not enabled')