diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-01-05 09:07:18 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-01-05 09:07:19 +0300 |
commit | 6f212b7c3f01fbdcef07e8076e877c5a8e2d33f2 (patch) | |
tree | 7b26af2c658fbab65ed076a48ff3e026513de67b /t/test-lib-functions.sh | |
parent | 3eac69d2677431803ea696f73fe33d44fbb6c214 (diff) | |
parent | a48a88019b408157cf3b76e1a198afd824f4f0a3 (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.sh | 2 |
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 |