diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-01-05 15:07:18 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-01-05 15:07:19 +0900 |
| commit | 6f212b7c3f01fbdcef07e8076e877c5a8e2d33f2 (patch) | |
| tree | 7b26af2c658fbab65ed076a48ff3e026513de67b /t/test-lib-functions.sh | |
| parent | Merge branch 'dh/mingw-ownership-check-typofix' (diff) | |
| parent | tests: make 'test_oid' print trailing newline (diff) | |
| download | git-6f212b7c3f01fbdcef07e8076e877c5a8e2d33f2.tar.gz git-6f212b7c3f01fbdcef07e8076e877c5a8e2d33f2.zip | |
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 |
