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>
Junio C Hamano committed
Sep 3, 2019 at 14:11 UTC
da280f5f1a8ff7cfe677d1be6aeb0b72923ad901
3 files changed
-8
t/t3404-rebase-interactive.sh
-2
@@ -155,8 +155,6 @@ test_expect_success 'rebase -x with empty command fails' '
155
test_i18ncmp expected actual
156
'
157
158
-LF='
159
-'
158
test_expect_success 'rebase -x with newline in command fails' '
159
test_when_finished "git rebase --abort ||:" &&
160
test_must_fail env git rebase -x "a${LF}b" @ 2>actual &&
t/t4013-diff-various.sh
-3
@@ -7,9 +7,6 @@ test_description='Various diff formatting options'
7
8
. ./test-lib.sh
9
10
-LF='
11
-'
12
-
10
test_expect_success setup '
11
12
GIT_AUTHOR_DATE="2006-06-26 00:00:00 +0000" &&
t/t5515-fetch-merge-logic.sh
-3
@@ -12,9 +12,6 @@ GIT_TEST_PROTOCOL_VERSION=
12
13
. ./test-lib.sh
14
15
-LF='
16
-'
17
-
15
test_expect_success setup '
16
GIT_AUTHOR_DATE="2006-06-26 00:00:00 +0000" &&
17
GIT_COMMITTER_DATE="2006-06-26 00:00:00 +0000" &&