tests: lib-functions: trivial style cleanups

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Felipe Contreras committed Nov 30, 2020 at 18:46 UTC 1ab7e00e244d0feb50abc316cb870446724c9ef6
1 file changed +4 -4
t/test-lib-functions.sh
+4 -4
@@ -955,7 +955,7 @@ test_expect_code () {
955 # - cmp's output is not nearly as easy to read as diff -u
956 # - not all diff versions understand "-u"
957
958 -test_cmp() {
958 +test_cmp () {
959 eval "$GIT_TEST_CMP" '"$@"'
960 }
961
@@ -968,7 +968,7 @@ test_cmp() {
968 #
969 # test_cmp_config foo core.bar
970 #
971 -test_cmp_config() {
971 +test_cmp_config () {
972 local GD &&
973 if test "$1" = "-C"
974 then
@@ -984,7 +984,7 @@ test_cmp_config() {
984
985 # test_cmp_bin - helper to compare binary files
986
987 -test_cmp_bin() {
987 +test_cmp_bin () {
988 cmp "$@"
989 }
990
@@ -1418,7 +1418,7 @@ nongit () {
1418 # whitespace and put in a single packet. Note that data containing NULs must be
1419 # given on stdin, and that empty input becomes an empty packet, not a flush
1420 # packet (for that you can just print 0000 yourself).
1421 -packetize() {
1421 +packetize () {
1422 if test $# -gt 0
1423 then
1424 packet="$*"