On 3/7/20 11:22 AM, Unai Martinez-Corral wrote:
Spaces are added before '; then', for consistency.

For consistency with what? This is not our prevailing style; as evidenced by this pre-patch search:

$ git grep 'if \[.*\];' | wc
    274    2186   18170
$ git grep 'if \[.*\] ;' | wc
     25     256    1573

and you are diverging from the dominant pattern.


All the tests are prefixed with 'x', in order to avoid risky comparisons
(i.e. a user deliberately trying to provoke a syntax error).

This part, however, is good. Since one part is controversial, you may want to split this into two patches, or even drop the reformatting part.

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org


Reply via email to