diff options
| author | Ken Brown | 2023-03-24 11:35:40 -0400 |
|---|---|---|
| committer | Ken Brown | 2023-03-25 10:21:20 -0400 |
| commit | 64a2b0d36fe9152641fe2017d36d5fc4ee2b7fc6 (patch) | |
| tree | 83f70f7d57a7a647267bda8dd0c4dc9e67123664 /test | |
| parent | 90fc6b987ad8f6531834906749be4d159fc1184f (diff) | |
| download | emacs-64a2b0d36fe9152641fe2017d36d5fc4ee2b7fc6.tar.gz emacs-64a2b0d36fe9152641fe2017d36d5fc4ee2b7fc6.zip | |
Fix failure of fns-tests-collate-strings on Cygwin
* test/src/fns-tests.el (fns-tests-collate-strings): Use
en_XY.UTF-8 instead of en_DE.UTF-8 as an example of an invalid
locale; en_DE.UTF-8 is actually a valid locale on Cygwin.
Note: The test will still fail on Cygwin releases < 3.5
because of a Cygwin bug. (Bug#62420)
Diffstat (limited to 'test')
| -rw-r--r-- | test/src/fns-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/fns-tests.el b/test/src/fns-tests.el index e0d6c96b360..c36b5e3f41b 100644 --- a/test/src/fns-tests.el +++ b/test/src/fns-tests.el | |||
| @@ -253,8 +253,8 @@ | |||
| 253 | ;; Ignore case. | 253 | ;; Ignore case. |
| 254 | (should (string-collate-equalp "xyzzy" "XYZZY" nil t)) | 254 | (should (string-collate-equalp "xyzzy" "XYZZY" nil t)) |
| 255 | 255 | ||
| 256 | ;; Locale must be valid. | 256 | ;; Locale must be valid. This test will fail on Cygwin releases < 3.5. |
| 257 | (should-error (string-collate-equalp "xyzzy" "xyzzy" "en_DE.UTF-8"))) | 257 | (should-error (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF-8"))) |
| 258 | 258 | ||
| 259 | ;; There must be a check for valid codepoints. (Check not implemented yet) | 259 | ;; There must be a check for valid codepoints. (Check not implemented yet) |
| 260 | ; (should-error | 260 | ; (should-error |