diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-07-10 23:20:25 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-07-11 23:14:17 -0700 |
commit | bcefed419aee75ff1c358dc0794c55b07d87dbc9 (patch) | |
tree | b623eb65b72e02e259b29079796d9bba68f691cf /t/t4004-diff-rename-symlink.sh | |
parent | Git 1.7.2-rc2 (diff) | |
download | tgif-bcefed419aee75ff1c358dc0794c55b07d87dbc9.tar.xz |
t3000 (ls-files -o): modernize style
This script is part of the second batch of tests, from the same day
the test infrastructure was added to git. Update it to use a more
modern style in the spirit of v1.6.4-rc0~45^2~2 (2009-05-22).
In particular:
- Put setup code inside test assertions, to avoid unexpected
breakages and avoid stray output without -v (as t/README
recommends); and
- Put the test title on the same line as the "test_expect_success",
and end the line with a single-quote to begin the body of the test
which is one multi-line string.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4004-diff-rename-symlink.sh')
0 files changed, 0 insertions, 0 deletions