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:
parent
d4b8163784
commit
43ecaffc2f
1 changed files with 3 additions and 3 deletions
|
@ -267,8 +267,8 @@
|
||||||
'post))
|
'post))
|
||||||
|
|
||||||
(with-test-prefix "nonascii locales"
|
(with-test-prefix "nonascii locales"
|
||||||
(with-locale "en_US.utf8"
|
(pass-if "match structures refer to char offsets"
|
||||||
;; bug 31650
|
(with-locale "en_US.utf8"
|
||||||
(pass-if "match structures refer to char offsets"
|
;; bug #31650
|
||||||
(equal? (match:substring (string-match ".*" "calçot") 0)
|
(equal? (match:substring (string-match ".*" "calçot") 0)
|
||||||
"calçot"))))
|
"calçot"))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue