diff options
| author | Andrea Corallo | 2020-12-23 19:49:58 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2020-12-23 19:49:58 +0100 |
| commit | b99a4744822a11e4af098b63db18f54a4e323d58 (patch) | |
| tree | a3836dfbd6bf4ebfc5b61c566d146cfd65984f62 /test/src | |
| parent | ffcd490cb49ba86d625288ea425d98e8cac22a05 (diff) | |
| parent | 40bc77d9a6b8d824690fb6ee3003d74951bb3ae5 (diff) | |
| download | emacs-b99a4744822a11e4af098b63db18f54a4e323d58.tar.gz emacs-b99a4744822a11e4af098b63db18f54a4e323d58.zip | |
Merge remote-tracking branch 'savannah/master' into HEAD
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/fileio-tests.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/src/fileio-tests.el b/test/src/fileio-tests.el index ed381d151ee..8d46abf342a 100644 --- a/test/src/fileio-tests.el +++ b/test/src/fileio-tests.el | |||
| @@ -155,3 +155,9 @@ Also check that an encoding error can appear in a symlink." | |||
| 155 | (write-region "hello\n" nil f nil 'silent) | 155 | (write-region "hello\n" nil f nil 'silent) |
| 156 | (should-error (insert-file-contents f) :type 'circular-list) | 156 | (should-error (insert-file-contents f) :type 'circular-list) |
| 157 | (delete-file f))) | 157 | (delete-file f))) |
| 158 | |||
| 159 | (ert-deftest fileio-tests/null-character () | ||
| 160 | (should-error (file-exists-p "/foo\0bar") | ||
| 161 | :type 'wrong-type-argument)) | ||
| 162 | |||
| 163 | ;;; fileio-tests.el ends here | ||