branch: externals/hotfuzz
commit 15378fbf7d29b1ce70e5689e4dfee63c2fd1cc8b
Author: Axel Forsman <[email protected]>
Commit: Axel Forsman <[email protected]>

    Replace string-search with string-match-p
    
    The function `string-search` was first introduced in Emacs 28.1.
---
 test/tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/tests.el b/test/tests.el
index 00cc8fafff..690381f4cc 100644
--- a/test/tests.el
+++ b/test/tests.el
@@ -78,7 +78,7 @@
            ('metadata '(metadata (category . file)))
            (`(boundaries . ,suffix)
             `(boundaries ,(length (file-name-directory string))
-                         . ,(string-search "/" suffix)))
+                         . ,(string-match-p "/" suffix)))
            ('t (list "/usr/bin" "/usr/share" "/usr/local"))))
        nil
        6) ; Point as in "/usr/s|/man"

Reply via email to