comparison tests/test-revset.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 8185c8abce87
children 29798c9ba5c9 6bc1245cd598
comparison
equal deleted inserted replaced
41737:cab32f08c994 41738:c70bdd222dcd
10 > 10 >
11 > revisions duplicated on purpose. 11 > revisions duplicated on purpose.
12 > """ 12 > """
13 > if 3 not in subset: 13 > if 3 not in subset:
14 > if 2 in subset: 14 > if 2 in subset:
15 > return baseset([2,2]) 15 > return baseset([2, 2])
16 > return baseset() 16 > return baseset()
17 > return baseset([3,3,2,2]) 17 > return baseset([3, 3, 2, 2])
18 > 18 >
19 > mercurial.revset.symbols[b'r3232'] = r3232 19 > mercurial.revset.symbols[b'r3232'] = r3232
20 > EOF 20 > EOF
21 $ cat >> $HGRCPATH << EOF 21 $ cat >> $HGRCPATH << EOF
22 > [extensions] 22 > [extensions]