]> git.ipfire.org Git - thirdparty/git.git/commit - t/test-lib-functions.sh
test-lib-functions: adjust style to match CodingGuidelines
authorDavid Aguilar <davvid@gmail.com>
Wed, 15 Oct 2014 08:35:21 +0000 (01:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Oct 2014 19:04:05 +0000 (12:04 -0700)
commit9e8f8dea46b52682b3fca67d8602c694c10013e1
tree89e2f268085cb0129706a95932c59de5d4acaa18
parentd7d300ea598b8a192f73cee15c7c3c7fcb556888
test-lib-functions: adjust style to match CodingGuidelines

Prefer "test" over "[ ]" for conditionals.
Prefer "$()" over backticks for command substitutions.
Avoid control structures on a single line with semicolons.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib-functions.sh