summaryrefslogtreecommitdiff
path: root/t/t2030-unresolve-info.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-04-11 11:24:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-04-11 16:32:20 (GMT)
commit3fb0459bc89bebb07e0603ce3ce92dbbc8a39ea4 (patch)
treeb8e4ab3fc39f64973168b4656c57d2874e1abdaf /t/t2030-unresolve-info.sh
parente8dde3e5f9ddb7cf95a6ff3cea6cf07c3a2db80d (diff)
downloadgit-3fb0459bc89bebb07e0603ce3ce92dbbc8a39ea4.zip
git-3fb0459bc89bebb07e0603ce3ce92dbbc8a39ea4.tar.gz
git-3fb0459bc89bebb07e0603ce3ce92dbbc8a39ea4.tar.bz2
tests: modernise style: more uses of test_line_count
Prefer: test_line_count <OP> COUNT FILE over: test $(wc -l <FILE) <OP> COUNT (or similar usages) in several tests. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2030-unresolve-info.sh')
-rwxr-xr-xt/t2030-unresolve-info.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t2030-unresolve-info.sh b/t/t2030-unresolve-info.sh
index cb7effe..f262065 100755
--- a/t/t2030-unresolve-info.sh
+++ b/t/t2030-unresolve-info.sh
@@ -113,7 +113,7 @@ test_expect_success 'unmerge with plumbing' '
prime_resolve_undo &&
git update-index --unresolve fi/le &&
git ls-files -u >actual &&
- test $(wc -l <actual) = 3
+ test_line_count = 3 actual
'
test_expect_success 'rerere and rerere forget' '