diff options
author | Ludovic Courtès <ludo@gnu.org> | 2010-11-24 23:38:01 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2010-11-24 23:38:01 +0100 |
commit | 43ecaffc2f564dbb03af446671097a548378df82 (patch) | |
tree | 7b9fe54113af93c218b3cd1406c616a14af8686b /test-suite/tests/regexp.test | |
parent | d4b8163784c4764b5b5ecd3c5ac3892cc5b46e64 (diff) | |
download | guile-43ecaffc2f564dbb03af446671097a548378df82.tar.gz |
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.
Diffstat (limited to 'test-suite/tests/regexp.test')
-rw-r--r-- | test-suite/tests/regexp.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test-suite/tests/regexp.test b/test-suite/tests/regexp.test index 1b5878912..f405df493 100644 --- a/test-suite/tests/regexp.test +++ b/test-suite/tests/regexp.test @@ -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" + (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")))) |