mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 01:00:20 +02:00
deprecate has-suffix?
* module/ice-9/boot-9.scm: * module/ice-9/deprecated.scm (has-suffix?): Deprecate. * test-suite/guile-test: * benchmark-suite/guile-benchmark: Fix uses of deprecated has-suffix?.
This commit is contained in:
parent
02b582cef5
commit
010b159f56
4 changed files with 12 additions and 7 deletions
|
@ -155,7 +155,7 @@
|
|||
(let ((root-len (+ 1 (string-length test-dir)))
|
||||
(tests '()))
|
||||
(for-each-file (lambda (file)
|
||||
(if (has-suffix? file ".test")
|
||||
(if (string-suffix? ".test" file)
|
||||
(let ((short-name
|
||||
(substring file root-len)))
|
||||
(set! tests (cons short-name tests))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue