t4205, t6006, t7102: make functions better readable
commit17cc2ef1c5f160056f5ca8cf4bd795ddd9b76bd3
authorAlexey Shumkin <alex.crezoff@gmail.com>
Fri, 5 Jul 2013 12:01:48 +0000 (5 16:01 +0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Jul 2013 18:40:18 +0000 (5 11:40 -0700)
treea6b95f53a3b8e1f1f576c8db8950a53714ccd203
parentf3445f781f95ca4a7d59028aa7b7457fa925f577
t4205, t6006, t7102: make functions better readable

Function 'test_format' has become harder to read after its change in
de6029a2 (pretty: Add failing tests: --format output should honor
logOutputEncoding, 2013-06-26). Simplify it by moving its "should we
expect it to fail?" parameter to the end.

Note, current code does not use this last parameter as far as there
are no tests expected to fail. We can keep that for future use.

Also, reformat comments.

Signed-off-by: Alexey Shumkin <Alex.Crezoff@gmail.com>
Improved-by: Johannes Sixt <j.sixt@viscovery.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4205-log-pretty-formats.sh
t/t6006-rev-list-format.sh
t/t7102-reset.sh