]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t3900-i18n-commit.sh
tests: modernise style: more uses of test_line_count
[thirdparty/git.git] / t / t3900-i18n-commit.sh
index d48a7c002d622ffac5087be9a7998f781a242731..37ddabba2d60956a4d8da63585bec5a622e12a5d 100755 (executable)
@@ -160,7 +160,7 @@ test_commit_autosquash_flags () {
                git config --unset-all i18n.commitencoding &&
                git rebase --autosquash -i HEAD^^^ &&
                git log --oneline >actual &&
-               test 3 = $(wc -l <actual)
+               test_line_count = 3 actual
        '
 }