]> git.ipfire.org Git - thirdparty/git.git/commit
t1005: assert output of ls-files
authorAndrei Rybak <rybak.a.v@gmail.com>
Sat, 18 Mar 2023 15:46:40 +0000 (16:46 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Mar 2023 16:11:41 +0000 (09:11 -0700)
commit8fc184c0eb8de0bbcd5ad9c36326fa3856560fc4
treed958cd91c6f730222b3a19ad7e1957b8b57359d9
parent73876f4861cd3d187a4682290ab75c9dccadbc56
t1005: assert output of ls-files

Test 'reset should work' in t1005-read-tree-reset.sh compares two files
"expect" and "actual" to assert the expected output of "git ls-files".
Several other tests in the same file also create files "expect" and
"actual", but don't use them in assertions.

Assert output of "git ls-files" in t1005-read-tree-reset.sh to improve
test coverage.

Signed-off-by: Andrei Rybak <rybak.a.v@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1005-read-tree-reset.sh