Skip to content

Commit d98f272

Browse files
dschogitster
authored andcommitted
t5570: remove trailing padding
Two blocks in t5570 want to align the closing double quotes, padding with spaces if needed. Since the maximum length of those lines is defined by the branch name `master`, the upcoming rename to `main` would unalign the quotes. But then, it is unclear how those aligned closing quotes should help readability anyway, so let's just remove that padding altogether. Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 739edb2 commit d98f272

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

t/t5570-git-daemon.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,18 +147,18 @@ test_remote_error()
147147
}
148148

149149
msg="access denied or repository not exported"
150-
test_expect_success 'clone non-existent' "test_remote_error '$msg' clone nowhere.git "
150+
test_expect_success 'clone non-existent' "test_remote_error '$msg' clone nowhere.git"
151151
test_expect_success 'push disabled' "test_remote_error '$msg' push repo.git master"
152-
test_expect_success 'read access denied' "test_remote_error -x '$msg' fetch repo.git "
153-
test_expect_success 'not exported' "test_remote_error -n '$msg' fetch repo.git "
152+
test_expect_success 'read access denied' "test_remote_error -x '$msg' fetch repo.git"
153+
test_expect_success 'not exported' "test_remote_error -n '$msg' fetch repo.git"
154154

155155
stop_git_daemon
156156
start_git_daemon --informative-errors
157157

158-
test_expect_success 'clone non-existent' "test_remote_error 'no such repository' clone nowhere.git "
158+
test_expect_success 'clone non-existent' "test_remote_error 'no such repository' clone nowhere.git"
159159
test_expect_success 'push disabled' "test_remote_error 'service not enabled' push repo.git master"
160-
test_expect_success 'read access denied' "test_remote_error -x 'no such repository' fetch repo.git "
161-
test_expect_success 'not exported' "test_remote_error -n 'repository not exported' fetch repo.git "
160+
test_expect_success 'read access denied' "test_remote_error -x 'no such repository' fetch repo.git"
161+
test_expect_success 'not exported' "test_remote_error -n 'repository not exported' fetch repo.git"
162162

163163
stop_git_daemon
164164
start_git_daemon --interpolated-path="$GIT_DAEMON_DOCUMENT_ROOT_PATH/%H%D"

0 commit comments

Comments
 (0)