Skip to content

Commit e6a9bc0

Browse files
rscharfegitster
authored andcommitted
t4202: fix patternType setting in --invert-grep test
Actually use extended regexes as indicated in the comment. Signed-off-by: René Scharfe <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e9d7761 commit e6a9bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t4202-log.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ test_expect_success 'log --invert-grep --grep' '
250250
test_cmp expect actual &&
251251
252252
# POSIX extended
253-
git -c grep.patternType=basic log --pretty="tformat:%s" --invert-grep --grep=t[h] --grep=S[e]c >actual &&
253+
git -c grep.patternType=extended log --pretty="tformat:%s" --invert-grep --grep=t[h] --grep=S[e]c >actual &&
254254
test_cmp expect actual &&
255255
256256
# PCRE

0 commit comments

Comments
 (0)