We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2c3000 commit 3567fb5Copy full SHA for 3567fb5
1 file changed
t/t4013-diff-various.sh
@@ -683,11 +683,7 @@ test_expect_success 'diff -I<regex>: ignore all content changes' '
683
684
test_diff_no_content_changes () {
685
git diff $1 --ignore-blank-lines -I".*" >actual &&
686
- test_line_count = 3 actual &&
687
- test_grep "file1" actual &&
688
- test_grep "file2" actual &&
689
- test_grep "file3" actual &&
690
- test_grep ! "diff --git" actual
+ test_must_be_empty actual
691
} &&
692
test_diff_no_content_changes "--raw" &&
693
test_diff_no_content_changes "--name-only" &&
0 commit comments