Fix fns-tests-collate-strings failure with musl
* test/src/fns-tests.el (fns-tests-collate-strings): Don’t assume "en_XY.UTF-8", or any particular string, is an invalid locale, as they all seem to be valid in musl. Instead, simply test that a non-string is invalid. (Bug#76550)
This commit is contained in:
parent
840c682458
commit
62b3d3136f
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@
|
|||
(should (string-collate-equalp "xyzzy" "XYZZY" nil t))
|
||||
|
||||
;; Locale must be valid.
|
||||
(should-error (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF-8")))
|
||||
(should-error (string-collate-equalp "xyzzy" "xyzzy" 'not-a-locale)))
|
||||
|
||||
;; There must be a check for valid codepoints. (Check not implemented yet)
|
||||
; (should-error
|
||||
|
|
Loading…
Add table
Reference in a new issue