Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-01-05 09:07:18 +0300
committerJunio C Hamano <gitster@pobox.com>2023-01-05 09:07:19 +0300
commit6f212b7c3f01fbdcef07e8076e877c5a8e2d33f2 (patch)
tree7b26af2c658fbab65ed076a48ff3e026513de67b /t/test-lib-functions.sh
parent3eac69d2677431803ea696f73fe33d44fbb6c214 (diff)
parenta48a88019b408157cf3b76e1a198afd824f4f0a3 (diff)
Merge branch 'sg/test-oid-wo-incomplete-line'
Test helper updates. * sg/test-oid-wo-incomplete-line: tests: make 'test_oid' print trailing newline
Diffstat (limited to 't/test-lib-functions.sh')
-rw-r--r--t/test-lib-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
index 0fd7d4a200..f036c4d300 100644
--- a/t/test-lib-functions.sh
+++ b/t/test-lib-functions.sh
@@ -1682,7 +1682,7 @@ test_oid () {
then
BUG "undefined key '$1'"
fi &&
- eval "printf '%s' \"\${$var}\""
+ eval "printf '%s\n' \"\${$var}\""
}
# Insert a slash into an object ID so it can be used to reference a location