1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

Fix recent i18n tests

* test-suite/tests/i18n.test ("text collation (French)"): Fix to
actually pass locale arg.
This commit is contained in:
Andy Wingo 2021-03-16 21:55:22 +01:00
parent 72bf9d93ca
commit 9e32c5729e

View file

@ -226,14 +226,16 @@
(lambda ()
(let* ((strings (list "œa" "œb"))
(heads (map (lambda (s) (substring/shared s 0 1)) strings)))
(not (apply string-locale<? heads))))))
(not (string-locale<? (car heads) (cadr heads)
%french-utf8-locale))))))
(pass-if "string-locale-ci=?, bis"
(under-french-utf8-locale-or-unresolved
(lambda ()
(let* ((strings (list "œa" "œb"))
(heads (map (lambda (s) (substring/shared s 0 1)) strings)))
(apply string-locale-ci=? heads)))))
(string-locale-ci=? (car heads) (cadr heads)
%french-utf8-locale)))))
(pass-if "string-locale-ci=? (3 args, wide strings)"
(under-french-utf8-locale-or-unresolved