mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
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)
This commit is contained in:
parent
90fc6b987a
commit
64a2b0d36f
@ -253,8 +253,8 @@
|
||||
;; Ignore case.
|
||||
(should (string-collate-equalp "xyzzy" "XYZZY" nil t))
|
||||
|
||||
;; Locale must be valid.
|
||||
(should-error (string-collate-equalp "xyzzy" "xyzzy" "en_DE.UTF-8")))
|
||||
;; Locale must be valid. This test will fail on Cygwin releases < 3.5.
|
||||
(should-error (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF-8")))
|
||||
|
||||
;; There must be a check for valid codepoints. (Check not implemented yet)
|
||||
; (should-error
|
||||
|
Loading…
Reference in New Issue
Block a user