summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ce8e880)
raw | patch | inline | side by side (parent: ce8e880)
author | Jeff King <peff@peff.net> | |
Sun, 8 Mar 2009 01:22:07 +0000 (20:22 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 8 Mar 2009 03:54:05 +0000 (19:54 -0800) |
These ancient tests predate test_cmp.
While we're at it, let's switch to our usual "expected
before actual" order of arguments; this makes the diff
output "here's what is changed from expected" instead of the
reverse.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
While we're at it, let's switch to our usual "expected
before actual" order of arguments; this makes the diff
output "here's what is changed from expected" instead of the
reverse.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3000-ls-files-others.sh | patch | blob | history |
index bc0a3513920cab41e4335b8c1b5163e25e8354d3..36eee0f8ae377e130bdcc20ad882261a83764e38 100755 (executable)
test_expect_success \
'git ls-files --others should pick up symlinks.' \
- 'diff output expected1'
+ 'test_cmp expected1 output'
test_expect_success \
'git ls-files --others --directory to show output.' \
test_expect_success \
'git ls-files --others --directory should not get confused.' \
- 'diff output expected2'
+ 'test_cmp expected2 output'
test_done