Mercurial > hg
diff tests/test-bundle2-format.t @ 41734:6462bbb91b53
tests: bulk change to avoid "unneeded trailing ',' ..." error 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.
"trailing ','" at the end of command option list in the code fragment
of test-bundle2-format.t is still left as it is, in order to follow
the style of command definitions in Mercurial core.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Mon, 18 Feb 2019 00:27:25 +0900 |
parents | 58ebf5083843 |
children | d7304434390f |
line wrap: on
line diff
--- a/tests/test-bundle2-format.t Mon Feb 18 00:27:25 2019 +0900 +++ b/tests/test-bundle2-format.t Mon Feb 18 00:27:25 2019 +0900 @@ -82,7 +82,8 @@ > (b'', b'genraise', False, b'includes a part that raise an exception during generation'), > (b'', b'timeout', False, b'emulate a timeout during bundle generation'), > (b'r', b'rev', [], b'includes those changeset in the bundle'), - > (b'', b'compress', b'', b'compress the stream'),], + > (b'', b'compress', b'', b'compress the stream'), + > ], > b'[OUTPUTFILE]') > def cmdbundle2(ui, repo, path=None, **opts): > """write a bundle2 container on standard output"""