Mercurial > public > mercurial-scm > hg
diff tests/test-hgweb-no-request-uri.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 | f80f7a67e176 |
children | 42d2b31cee0b |
line wrap: on
line diff
--- a/tests/test-hgweb-no-request-uri.t Mon Feb 18 00:27:25 2019 +0900 +++ b/tests/test-hgweb-no-request-uri.t Mon Feb 18 00:27:25 2019 +0900 @@ -62,12 +62,12 @@ > output = stringio() > env['PATH_INFO'] = '/' > env['QUERY_STRING'] = 'style=atom' - > process(hgweb.hgweb(b'.', name = b'repo')) + > process(hgweb.hgweb(b'.', name=b'repo')) > > output = stringio() > env['PATH_INFO'] = '/file/tip/' > env['QUERY_STRING'] = 'style=raw' - > process(hgweb.hgweb(b'.', name = b'repo')) + > process(hgweb.hgweb(b'.', name=b'repo')) > > output = stringio() > env['PATH_INFO'] = '/'