Skip to content

Commit 329b26e

Browse files
committed
test: resurrect q_to_tab
New test may want to use this helper; keep it for them that do not need to protect literal SP. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 250b3c6 commit 329b26e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

t/test-lib-functions.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ q_to_cr () {
8787
tr Q '\015'
8888
}
8989

90+
q_to_tab () {
91+
tr Q '\011'
92+
}
93+
9094
qz_to_tab_space () {
9195
tr QZ '\011\040'
9296
}

0 commit comments

Comments
 (0)