Skip to content

Commit ecbff14

Browse files
avargitster
authored andcommitted
grep/pcre2 tests: reword comments referring to kwset
The kwset optimization has not been used by grep since 48de2a7 (grep: remove the kwset optimization, 2019-07-01). Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f0d4d39 commit ecbff14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t7816-grep-binary-pattern.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ test_expect_success 'setup' "
5959
git commit -m.
6060
"
6161

62-
# Simple fixed-string matching that can use kwset (no -i && non-ASCII)
62+
# Simple fixed-string matching
6363
nul_match P P P '-F' 'yQf'
6464
nul_match P P P '-F' 'yQx'
6565
nul_match P P P '-Fi' 'YQf'
@@ -78,7 +78,7 @@ nul_match P P P '-Fi' '[Y]QF'
7878
nul_match P P P '-F' 'æQ[ð]'
7979
nul_match P P P '-F' '[æ]Qð'
8080

81-
# The -F kwset codepath can't handle -i && non-ASCII...
81+
# Matching pattern and subject case with -i
8282
nul_match P 1 1 '-i' '[æ]Qð'
8383

8484
# ...PCRE v2 only matches non-ASCII with -i casefolding under UTF-8

0 commit comments

Comments
 (0)