t1006-cat-file.sh: typo
Previously timestamps were removed unconditionally (though this didn't seem to break this test). Now they are only removed if $no_ts is non-empty. Signed-off-by: Lea Wiemann <LeWiemann@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
457bb45291
commit
4e44ae45fe
|
|
@ -74,7 +74,7 @@ $content"
|
||||||
test -z "$content" ||
|
test -z "$content" ||
|
||||||
test_expect_success "--batch output of $type is correct" '
|
test_expect_success "--batch output of $type is correct" '
|
||||||
expect="$(maybe_remove_timestamp "$batch_output" $no_ts)"
|
expect="$(maybe_remove_timestamp "$batch_output" $no_ts)"
|
||||||
actual="$(maybe_remove_timestamp "$(echo $sha1 | git cat-file --batch)" no_ts)"
|
actual="$(maybe_remove_timestamp "$(echo $sha1 | git cat-file --batch)" $no_ts)"
|
||||||
if test "z$expect" = "z$actual"
|
if test "z$expect" = "z$actual"
|
||||||
then
|
then
|
||||||
: happy
|
: happy
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue