summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2021-03-16 21:55:22 +0100
committerAndy Wingo <wingo@pobox.com>2021-03-16 21:55:22 +0100
commit9e32c5729ec995585e2953a2c7b0019ba1f44197 (patch)
tree678204793876c1ffecc422befa817c5b8b451cc1
parent72bf9d93ca63d8866cd7f4167469c2d5a5c91c2b (diff)
downloadguile-9e32c5729ec995585e2953a2c7b0019ba1f44197.tar.gz
Fix recent i18n tests
* test-suite/tests/i18n.test ("text collation (French)"): Fix to actually pass locale arg.
-rw-r--r--test-suite/tests/i18n.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/test-suite/tests/i18n.test b/test-suite/tests/i18n.test
index a19b96336..83b53d017 100644
--- a/test-suite/tests/i18n.test
+++ b/test-suite/tests/i18n.test
@@ -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