Skip to content

Commit 47c0f24

Browse files
Beat Bolligitster
authored andcommitted
t/annotate-tests.sh: avoid redundant use of cat
Signed-off-by: Beat Bolli <[email protected]> Acked-by: Taylor Blau <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 99eb825 commit 47c0f24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/annotate-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ test_expect_success 'blame -L :funcname with userdiff driver' '
532532
"$(cat file.template)" &&
533533
test_commit --author "B <[email protected]>" \
534534
"change" "$fortran_file" \
535-
"$(cat file.template | sed -e s/ChangeMe/IWasChanged/)" &&
535+
"$(sed -e s/ChangeMe/IWasChanged/ file.template)" &&
536536
check_count -f "$fortran_file" -L:RIGHT A 3 B 1
537537
'
538538

0 commit comments

Comments
 (0)