Skip to content

Commit f06fb37

Browse files
committed
Merge branch 'jc/test-cleanup'
Code cleanup. * jc/test-cleanup: t3005: remove unused variable t: use LF variable defined in the test harness
2 parents 00bb744 + e770fbf commit f06fb37

4 files changed

+0
-10
lines changed

t/t3005-ls-files-relative.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ This test runs git ls-files with various relative path arguments.
77

88
. ./test-lib.sh
99

10-
new_line='
11-
'
1210
sq=\'
1311

1412
test_expect_success 'prepare' '

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)