Skip to content

Commit 0aff719

Browse files
ctiwaldgitster
authored andcommitted
Fix httpd tests that broke when non-ff push advice changed
Signed-off-by: Christopher Tiwald <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e339aa9 commit 0aff719

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

t/lib-httpd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,6 @@ test_http_push_nonff() {
160160
'
161161

162162
test_expect_success 'non-fast-forward push shows help message' '
163-
test_i18ngrep "To prevent you from losing history, non-fast-forward updates were rejected" output
163+
test_i18ngrep "Updates were rejected because" output
164164
'
165165
}

t/t5541-http-push.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ test_expect_success 'push fails for non-fast-forward refs unmatched by remote he
167167
'
168168

169169
test_expect_success 'push fails for non-fast-forward refs unmatched by remote helper: our output' '
170-
test_i18ngrep "To prevent you from losing history, non-fast-forward updates were rejected" \
170+
test_i18ngrep "Updates were rejected because" \
171171
output
172172
'
173173

0 commit comments

Comments
 (0)