File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -677,16 +677,14 @@ die () {
677
677
678
678
file_lineno () {
679
679
test -z " $GIT_TEST_FRAMEWORK_SELFTEST " && test -n " $BASH " || return 0
680
- eval '
681
- local i
682
- for i in ${!BASH_SOURCE[*]}
683
- do
684
- case $i,"${BASH_SOURCE[$i]##*/}" in
685
- 0,t[0-9]*.sh) echo "t/${BASH_SOURCE[$i]}:$LINENO: ${1+$1: }"; return;;
686
- *,t[0-9]*.sh) echo "t/${BASH_SOURCE[$i]}:${BASH_LINENO[$(($i-1))]}: ${1+$1: }"; return;;
687
- esac
688
- done
689
- '
680
+ local i
681
+ for i in ${! BASH_SOURCE[*]}
682
+ do
683
+ case $i ," ${BASH_SOURCE[$i]##*/ } " in
684
+ 0,t[0-9]* .sh) echo " t/${BASH_SOURCE[$i]} :$LINENO : ${1+$1 : } " ; return ;;
685
+ * ,t[0-9]* .sh) echo " t/${BASH_SOURCE[$i]} :${BASH_LINENO[$(($i-1))]} : ${1+$1 : } " ; return ;;
686
+ esac
687
+ done
690
688
}
691
689
692
690
GIT_EXIT_OK=
You can’t perform that action at this time.
0 commit comments