mirror of
https://github.com/git/git
synced 2024-10-05 16:19:28 +00:00
t4202: fix patternType setting in --invert-grep test
Actually use extended regexes as indicated in the comment. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
e9d7761bb9
commit
e6a9bc0c60
|
@ -250,7 +250,7 @@ test_expect_success 'log --invert-grep --grep' '
|
|||
test_cmp expect actual &&
|
||||
|
||||
# POSIX extended
|
||||
git -c grep.patternType=basic log --pretty="tformat:%s" --invert-grep --grep=t[h] --grep=S[e]c >actual &&
|
||||
git -c grep.patternType=extended log --pretty="tformat:%s" --invert-grep --grep=t[h] --grep=S[e]c >actual &&
|
||||
test_cmp expect actual &&
|
||||
|
||||
# PCRE
|
||||
|
|
Loading…
Reference in a new issue