summaryrefslogtreecommitdiff
path: root/t/t5700-clone-reference.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-05-11 11:14:57 -0700
committerJunio C Hamano <gitster@pobox.com>2012-05-11 11:14:57 -0700
commit538847cd4c6a7398e8799a829d731be75f09152f (patch)
treef46d9761a59abc3cc6624c74d689f6ebfe28b164 /t/t5700-clone-reference.sh
parent0582afbcb33a7ca32d09620b8dcaee63c5dd6000 (diff)
parent3fb0459bc89bebb07e0603ce3ce92dbbc8a39ea4 (diff)
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/t5700-clone-reference.sh')
-rwxr-xr-xt/t5700-clone-reference.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t5700-clone-reference.sh b/t/t5700-clone-reference.sh
index bbc4691bd7..c47d450cc3 100755
--- a/t/t5700-clone-reference.sh
+++ b/t/t5700-clone-reference.sh
@@ -34,7 +34,7 @@ test_expect_success 'cloning with reference (-l -s)' \
cd "$base_dir"
test_expect_success 'existence of info/alternates' \
-'test `wc -l <C/.git/objects/info/alternates` = 2'
+'test_line_count = 2 C/.git/objects/info/alternates'
cd "$base_dir"
@@ -63,7 +63,7 @@ test_expect_success 'fetched no objects' \
cd "$base_dir"
test_expect_success 'existence of info/alternates' \
-'test `wc -l <D/.git/objects/info/alternates` = 1'
+'test_line_count = 1 D/.git/objects/info/alternates'
cd "$base_dir"