Skip to content

Commit 398eafa

Browse files
committed
Add grepdiff-status test to TESTS
This test verifies that grepdiff -s/--status correctly shows: + for file additions (old file is /dev/null) - for file removals (new file is /dev/null) ! for file modifications (both files exist) The test also verifies that --empty-files-as-absent works correctly with -s to treat files with empty old versions as additions rather than modifications. The test currently fails - it documents the correct expected behavior that needs to be implemented. Assisted-by: Claude Code
1 parent af71373 commit 398eafa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ TESTS = tests/newline1/run-test \
225225
tests/grepdiff8/run-test \
226226
tests/grepdiff9/run-test \
227227
tests/grepdiff-original-line-numbers/run-test \
228+
tests/grepdiff-status/run-test \
228229
tests/number1/run-test \
229230
tests/number2/run-test \
230231
tests/number3/run-test \

0 commit comments

Comments
 (0)