Merge branch 'jc/test-cleanup'
Code cleanup. * jc/test-cleanup: t3005: remove unused variable t: use LF variable defined in the test harness
This commit is contained in:
@@ -7,8 +7,6 @@ This test runs git ls-files with various relative path arguments.
|
|||||||
|
|
||||||
. ./test-lib.sh
|
. ./test-lib.sh
|
||||||
|
|
||||||
new_line='
|
|
||||||
'
|
|
||||||
sq=\'
|
sq=\'
|
||||||
|
|
||||||
test_expect_success 'prepare' '
|
test_expect_success 'prepare' '
|
||||||
|
|||||||
@@ -155,8 +155,6 @@ test_expect_success 'rebase -x with empty command fails' '
|
|||||||
test_i18ncmp expected actual
|
test_i18ncmp expected actual
|
||||||
'
|
'
|
||||||
|
|
||||||
LF='
|
|
||||||
'
|
|
||||||
test_expect_success 'rebase -x with newline in command fails' '
|
test_expect_success 'rebase -x with newline in command fails' '
|
||||||
test_when_finished "git rebase --abort ||:" &&
|
test_when_finished "git rebase --abort ||:" &&
|
||||||
test_must_fail env git rebase -x "a${LF}b" @ 2>actual &&
|
test_must_fail env git rebase -x "a${LF}b" @ 2>actual &&
|
||||||
|
|||||||
@@ -7,9 +7,6 @@ test_description='Various diff formatting options'
|
|||||||
|
|
||||||
. ./test-lib.sh
|
. ./test-lib.sh
|
||||||
|
|
||||||
LF='
|
|
||||||
'
|
|
||||||
|
|
||||||
test_expect_success setup '
|
test_expect_success setup '
|
||||||
|
|
||||||
GIT_AUTHOR_DATE="2006-06-26 00:00:00 +0000" &&
|
GIT_AUTHOR_DATE="2006-06-26 00:00:00 +0000" &&
|
||||||
|
|||||||
@@ -12,9 +12,6 @@ GIT_TEST_PROTOCOL_VERSION=
|
|||||||
|
|
||||||
. ./test-lib.sh
|
. ./test-lib.sh
|
||||||
|
|
||||||
LF='
|
|
||||||
'
|
|
||||||
|
|
||||||
test_expect_success setup '
|
test_expect_success setup '
|
||||||
GIT_AUTHOR_DATE="2006-06-26 00:00:00 +0000" &&
|
GIT_AUTHOR_DATE="2006-06-26 00:00:00 +0000" &&
|
||||||
GIT_COMMITTER_DATE="2006-06-26 00:00:00 +0000" &&
|
GIT_COMMITTER_DATE="2006-06-26 00:00:00 +0000" &&
|
||||||
|
|||||||
Reference in New Issue
Block a user