author | Jonathan Nieder <jrnieder@gmail.com> | |
Sun, 11 Jul 2010 04:20:25 +0000 (23:20 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 12 Jul 2010 06:14:17 +0000 (23:14 -0700) | ||
commit | bcefed419aee75ff1c358dc0794c55b07d87dbc9 | |
tree | b623eb65b72e02e259b29079796d9bba68f691cf | tree | snapshot |
parent | 9918285fb10d81af9021dae99c5f4de88ded497c | commit | diff |
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>
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>
t/t3000-ls-files-others.sh | diff | blob | history |