summaryrefslogtreecommitdiff
path: root/t/t7408-submodule-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/t7408-submodule-reference.sh
parent0582afbcb33a7ca32d09620b8dcaee63c5dd6000 (diff)
parent3fb0459bc89bebb07e0603ce3ce92dbbc8a39ea4 (diff)
downloadgit-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/t7408-submodule-reference.sh')
-rwxr-xr-xt/t7408-submodule-reference.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7408-submodule-reference.sh b/t/t7408-submodule-reference.sh
index ab37c368d0..a45fadc58e 100755
--- a/t/t7408-submodule-reference.sh
+++ b/t/t7408-submodule-reference.sh
@@ -43,7 +43,7 @@ git commit -m B-super-added'
cd "$base_dir"
test_expect_success 'after add: existence of info/alternates' \
-'test `wc -l <super/.git/modules/sub/objects/info/alternates` = 1'
+'test_line_count = 1 super/.git/modules/sub/objects/info/alternates'
cd "$base_dir"
@@ -66,7 +66,7 @@ test_expect_success 'update with reference' \
cd "$base_dir"
test_expect_success 'after update: existence of info/alternates' \
-'test `wc -l <super-clone/.git/modules/sub/objects/info/alternates` = 1'
+'test_line_count = 1 super-clone/.git/modules/sub/objects/info/alternates'
cd "$base_dir"