Skip to content

Commit da280f5

Browse files
committed
t: use LF variable defined in the test harness
A few test scripts assign a single LF to $LF, but that is already given by test-lib.sh to everybody. Remove the unnecessary reassignment. Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 75b2f01 commit da280f5

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

t/t3404-rebase-interactive.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,6 @@ test_expect_success 'rebase -x with empty command fails' '
155155
test_i18ncmp expected actual
156156
'
157157

158-
LF='
159-
'
160158
test_expect_success 'rebase -x with newline in command fails' '
161159
test_when_finished "git rebase --abort ||:" &&
162160
test_must_fail env git rebase -x "a${LF}b" @ 2>actual &&

t/t4013-diff-various.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ test_description='Various diff formatting options'
77

88
. ./test-lib.sh
99

10-
LF='
11-
'
12-
1310
test_expect_success setup '
1411
1512
GIT_AUTHOR_DATE="2006-06-26 00:00:00 +0000" &&

t/t5515-fetch-merge-logic.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ GIT_TEST_PROTOCOL_VERSION=
1212

1313
. ./test-lib.sh
1414

15-
LF='
16-
'
17-
1815
test_expect_success setup '
1916
GIT_AUTHOR_DATE="2006-06-26 00:00:00 +0000" &&
2017
GIT_COMMITTER_DATE="2006-06-26 00:00:00 +0000" &&

0 commit comments

Comments
 (0)