grep/pcre2 tests: reword comments referring to kwset
The kwset optimization has not been used by grep since 48de2a768cf (grep: remove the kwset optimization, 2019-07-01). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason committed
Apr 12, 2021 at 19:15 UTC
ecbff141a1c6e4a32a43f90db70cde2b2199b241
1 file changed
+2
-2
t/t7816-grep-binary-pattern.sh
+2
-2
@@ -59,7 +59,7 @@ test_expect_success 'setup' "
59
git commit -m.
60
"
61
62
-# Simple fixed-string matching that can use kwset (no -i && non-ASCII)
62
+# Simple fixed-string matching
63
nul_match P P P '-F' 'yQf'
64
nul_match P P P '-F' 'yQx'
65
nul_match P P P '-Fi' 'YQf'
@@ -78,7 +78,7 @@ nul_match P P P '-Fi' '[Y]QF'
78
nul_match P P P '-F' 'æQ[ð]'
79
nul_match P P P '-F' '[æ]Qð'
80
81
-# The -F kwset codepath can't handle -i && non-ASCII...
81
+# Matching pattern and subject case with -i
82
nul_match P 1 1 '-i' '[æ]Qð'
83
84
# ...PCRE v2 only matches non-ASCII with -i casefolding under UTF-8