Skip to content

Commit f1ee28d

Browse files
committed
t9390: expect the correct line count in --strip-blobs-with-ids
In that test case, we expect the line count to be 5, but it is actually 6 lines that we should expect: numbers/medium.num numbers/small.num sequence/know whatever words/know Note the empty line at the top: this list is generated via `git log --format=%n`, and that `%n` stands for "newline", meaning that we _must_ expect an empty line. This expectation seems to have been broken already in the commit that added the test case: b6a35f8 (filter-repo: implement --strip-blobs-with-ids, 2019-05-30). It was hidden for such a long time by a broken &&-chain, which we will fix next. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 6c475a7 commit f1ee28d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t9390-filter-repo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ test_expect_success '--strip-blobs-with-ids' '
937937
git filter-repo --strip-blobs-with-ids ../bad-ids --replace-text ../replace-rules &&
938938
939939
git log --format=%n --name-only | sort | uniq >../filenames &&
940-
test_line_count = 5 ../filenames &&
940+
test_line_count = 6 ../filenames &&
941941
! grep sequence/to ../filenames &&
942942
! grep words/to ../filenames &&
943943
! grep capricious ../filenames &&

0 commit comments

Comments
 (0)