summaryrefslogtreecommitdiff
path: root/t/t1006-cat-file.sh
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2020-07-29 23:14:28 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-07-30 16:16:49 (GMT)
commite023ff0691ca207d421a0e75ea23c132ada9142a (patch)
tree442aa0f3908245f1ea02f3dc92efe200b6c315d4 /t/t1006-cat-file.sh
parent4feb562fc93184b427413b077301c99e71af5a75 (diff)
downloadgit-e023ff0691ca207d421a0e75ea23c132ada9142a.zip
git-e023ff0691ca207d421a0e75ea23c132ada9142a.tar.gz
git-e023ff0691ca207d421a0e75ea23c132ada9142a.tar.bz2
t: remove test_oid_init in tests
Now that we call test_oid_init in the setup for all test scripts, there's no point in calling it individually. Remove all of the places where we've done so to help keep tests tidy. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Reviewed-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1006-cat-file.sh')
-rwxr-xr-xt/t1006-cat-file.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/t/t1006-cat-file.sh b/t/t1006-cat-file.sh
index 43c4be1..2f501d2 100755
--- a/t/t1006-cat-file.sh
+++ b/t/t1006-cat-file.sh
@@ -140,8 +140,6 @@ test_expect_success '--batch-check without %(rest) considers whole line' '
test_cmp expect actual
'
-test_oid_init
-
tree_sha1=$(git write-tree)
tree_size=$(($(test_oid rawsz) + 13))
tree_pretty_content="100644 blob $hello_sha1 hello"