@matheusbsbs / matheus-bagliano / commits / 3b2eb186bb
Fork 0

fix whitespace violations in test scripts

These violations are simply wrong, but were never caught because whitespace policy checking is turned off in the test scripts. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Jun 14, 2008 at 03:25 UTC 3b2eb186bb738a374d9325b18710b19ec270e55f
4 files changed +6 -6
t/t3903-stash.sh
+1 -1
@@ -41,7 +41,7 @@ test_expect_success 'apply needs clean working directory' '
41 echo 4 > other-file &&
42 git add other-file &&
43 echo 5 > other-file &&
44 - test_must_fail git stash apply
44 + test_must_fail git stash apply
45 '
46
47 test_expect_success 'apply stashed changes' '
t/t4014-format-patch.sh
+3 -3
@@ -98,7 +98,7 @@ test_expect_success 'extra headers' '
98 sed -e "/^$/q" patch2 > hdrs2 &&
99 grep "^To: R. E. Cipient <rcipient@example.com>$" hdrs2 &&
100 grep "^Cc: S. E. Cipient <scipient@example.com>$" hdrs2
101 -
101 +
102 '
103
104 test_expect_success 'extra headers without newlines' '
@@ -109,7 +109,7 @@ test_expect_success 'extra headers without newlines' '
109 sed -e "/^$/q" patch3 > hdrs3 &&
110 grep "^To: R. E. Cipient <rcipient@example.com>$" hdrs3 &&
111 grep "^Cc: S. E. Cipient <scipient@example.com>$" hdrs3
112 -
112 +
113 '
114
115 test_expect_success 'extra headers with multiple To:s' '
@@ -170,7 +170,7 @@ test_expect_success 'thread cover-letter' '
170 git checkout side &&
171 git format-patch --cover-letter --thread -o patches/ master &&
172 FIRST_MID=$(grep "Message-Id:" patches/0000-* | sed "s/^[^<]*\(<[^>]*>\).*$/\1/") &&
173 - for i in patches/0001-* patches/0002-* patches/0003-*
173 + for i in patches/0001-* patches/0002-* patches/0003-*
174 do
175 grep "References: $FIRST_MID" $i &&
176 grep "In-Reply-To: $FIRST_MID" $i || break
t/t4150-am.sh
+1 -1
@@ -110,7 +110,7 @@ test_expect_success 'am applies patch correctly' '
110
111 GIT_AUTHOR_NAME="Another Thor"
112 GIT_AUTHOR_EMAIL="a.thor@example.com"
113 -GIT_COMMITTER_NAME="Co M Miter"
113 +GIT_COMMITTER_NAME="Co M Miter"
114 GIT_COMMITTER_EMAIL="c.miter@example.com"
115 export GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL
116
t/t5540-http-push.sh
+1 -1
@@ -38,7 +38,7 @@ test_expect_success 'setup remote repository' '
38 cd - &&
39 mv test_repo.git $HTTPD_DOCUMENT_ROOT_PATH
40 '
41 -
41 +
42 test_expect_success 'clone remote repository' '
43 cd "$ROOT_PATH" &&
44 git clone $HTTPD_URL/test_repo.git test_repo_clone