diff options
Diffstat (limited to 't/t8008-blame-formats.sh')
-rwxr-xr-x | t/t8008-blame-formats.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/t/t8008-blame-formats.sh b/t/t8008-blame-formats.sh index 387d1a6b98..d15f8b3d47 100755 --- a/t/t8008-blame-formats.sh +++ b/t/t8008-blame-formats.sh @@ -68,4 +68,23 @@ test_expect_success 'blame --porcelain output' ' test_cmp expect actual ' +cat >expect <<EOF +$ID1 1 1 1 +$COMMIT1 + a +$ID2 2 2 3 +$COMMIT2 + b +$ID2 3 3 +$COMMIT2 + c +$ID2 4 4 +$COMMIT2 + d +EOF +test_expect_success 'blame --line-porcelain output' ' + git blame --line-porcelain file >actual && + test_cmp expect actual +' + test_done |