t4202: fix patternType setting in --invert-grep test
PATCH 1/1 t4202: fix patternType setting in --invert-grep test
Actually use extended regexes as indicated in the comment.
Signed-off-by René Scharfe <[email protected]>
--- t/t4202-log.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
t/t4202-log.sh +1 -1
@@ -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
--
2.34.0
Quoted 12 lines · René Scharfe
Actually use extended regexes as indicated in the comment.
Signed-off-by René Scharfe <[email protected]>--- t/t4202-log.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)t/t4202-log.sh +0
-0
t/t4202-log.sh test_expect_success 'log --invert-grep --grep' ' · line 254
Quoted 6 lines
t/t4202-log.sh +1
-1@@ -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 &&
Good eyes.
Thanks.