Skip to content

Commit 644edd0

Browse files
j6tgitster
authored andcommitted
fix brown paper bag breakage in t5150-request-pull.sh
The recent addition to the test case 'pull request format' interrupted the single-quoted text, effectively adding a third argument to the test_expect_success command. Since we do not have a prerequisite named "pull request format", the test is skipped, no matter what. Additionally, the file name argument to the grep command is missing. Fix both issues. Signed-off-by: Johannes Sixt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d952cbb commit 644edd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t5150-request-pull.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ test_expect_success 'pull request format' '
229229
cd local &&
230230
git request-pull initial "$downstream_url" full
231231
) >request &&
232-
grep ' tags/full$'
232+
grep " tags/full\$" request
233233
'
234234

235235
test_expect_success 'request-pull ignores OPTIONS_KEEPDASHDASH poison' '

0 commit comments

Comments
 (0)