@@ -9,13 +9,13 @@ echo_without_newline() {
99}
1010
1111test_blob_does_not_exist () {
12- test_expect_success ' blob does not exist in database' "
12+ test_expect_success SHA1 ' blob does not exist in database' "
1313 test_must_fail git cat-file blob $1
1414 "
1515}
1616
1717test_blob_exists () {
18- test_expect_success ' blob exists in database' "
18+ test_expect_success SHA1 ' blob exists in database' "
1919 git cat-file blob $1
2020 "
2121}
@@ -73,19 +73,19 @@ test_expect_success "Can't use --path with --no-filters" '
7373
7474push_repo
7575
76- test_expect_success ' hash a file' '
76+ test_expect_success SHA1 ' hash a file' '
7777 test $hello_sha1 = $(git hash-object hello)
7878'
7979
8080test_blob_does_not_exist $hello_sha1
8181
82- test_expect_success ' hash from stdin' '
82+ test_expect_success SHA1 ' hash from stdin' '
8383 test $example_sha1 = $(git hash-object --stdin < example)
8484'
8585
8686test_blob_does_not_exist $example_sha1
8787
88- test_expect_success ' hash a file and write to database' '
88+ test_expect_success SHA1 ' hash a file and write to database' '
8989 test $hello_sha1 = $(git hash-object -w hello)
9090'
9191
@@ -161,7 +161,7 @@ pop_repo
161161for args in " -w --stdin" " --stdin -w" ; do
162162 push_repo
163163
164- test_expect_success " hash from stdin and write to database ($args )" '
164+ test_expect_success SHA1 " hash from stdin and write to database ($args )" '
165165 test $example_sha1 = $(git hash-object $args < example)
166166 '
167167
@@ -176,14 +176,14 @@ example"
176176sha1s=" $hello_sha1
177177$example_sha1 "
178178
179- test_expect_success " hash two files with names on stdin" '
179+ test_expect_success SHA1 " hash two files with names on stdin" '
180180 test "$sha1s" = "$(echo_without_newline "$filenames" | git hash-object --stdin-paths)"
181181'
182182
183183for args in " -w --stdin-paths" " --stdin-paths -w" ; do
184184 push_repo
185185
186- test_expect_success " hash two files with names on stdin and write to database ($args )" '
186+ test_expect_success SHA1 " hash two files with names on stdin and write to database ($args )" '
187187 test "$sha1s" = "$(echo_without_newline "$filenames" | git hash-object $args)"
188188 '
189189
0 commit comments