1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

Fix `regexp.test' when the "en_US.utf8" locale isn't available.

* test-suite/tests/regexp.test ("nonascii locales"): Move `with-locale'
  within the body of `pass-if' so that `unresolved' is caught.
This commit is contained in:
Ludovic Courtès 2010-11-24 23:38:01 +01:00
parent d4b8163784
commit 43ecaffc2f

View file

@ -267,8 +267,8 @@
'post))
(with-test-prefix "nonascii locales"
(with-locale "en_US.utf8"
;; bug 31650
(pass-if "match structures refer to char offsets"
(with-locale "en_US.utf8"
;; bug #31650
(equal? (match:substring (string-match ".*" "calçot") 0)
"calçot"))))