diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-05-11 11:14:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-11 11:14:57 -0700 |
commit | 538847cd4c6a7398e8799a829d731be75f09152f (patch) | |
tree | f46d9761a59abc3cc6624c74d689f6ebfe28b164 /t/t7502-commit.sh | |
parent | 0582afbcb33a7ca32d09620b8dcaee63c5dd6000 (diff) | |
parent | 3fb0459bc89bebb07e0603ce3ce92dbbc8a39ea4 (diff) | |
download | git-538847cd4c6a7398e8799a829d731be75f09152f.tar.gz |
Merge branch 'sl/test-wc-l-line-count' into maint
By Stefano Lattarini
* sl/test-wc-l-line-count:
tests: modernise style: more uses of test_line_count
Diffstat (limited to 't/t7502-commit.sh')
-rwxr-xr-x | t/t7502-commit.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7502-commit.sh b/t/t7502-commit.sh index 3f3adc31b9..181456aa9a 100755 --- a/t/t7502-commit.sh +++ b/t/t7502-commit.sh @@ -335,7 +335,7 @@ test_expect_success 'A single-liner subject with a token plus colon is not a foo git reset --hard && git commit -s -m "hello: kitty" --allow-empty && git cat-file commit HEAD | sed -e "1,/^$/d" >actual && - test $(wc -l <actual) = 3 + test_line_count = 3 actual ' |