mirror of
https://github.com/git/git.git
synced 2026-03-06 23:37:41 +01: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:
committed by
Junio C Hamano
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
|
||||
|
||||
Reference in New Issue
Block a user