Unbreak a fileio test on non-Mac OS X systems
* test/src/fileio-tests.el (fileio-tests--symlink-failure): Don't use an undefined coding system. ; No need to merge to master, since breaking commit wasn't merged.
This commit is contained in:
parent
4122d54067
commit
964dd38c8f
1 changed files with 4 additions and 1 deletions
|
@ -30,7 +30,10 @@
|
|||
(defun fileio-tests--symlink-failure ()
|
||||
(let* ((dir (make-temp-file "fileio" t))
|
||||
(link (expand-file-name "link" dir))
|
||||
(file-name-coding-system 'utf-8-hfs-unix))
|
||||
(file-name-coding-system (if (and (eq system-type 'darwin)
|
||||
(featurep 'ucs-normalize))
|
||||
'utf-8-hfs-unix
|
||||
file-name-coding-system)))
|
||||
(unwind-protect
|
||||
(let (failure
|
||||
(char 0))
|
||||
|
|
Loading…
Add table
Reference in a new issue