1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00

Remove superfluous argument.

This commit is contained in:
Michael Albinus 2014-02-07 16:56:15 +01:00
parent cad6dfb67f
commit 5a327e991e

View File

@ -1153,7 +1153,7 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'."
(default-directory tramp-test-temporary-file-directory))
(unwind-protect
(with-temp-buffer
(write-region "foo" nil tmp-name nil)
(write-region "foo" nil tmp-name)
(should (file-exists-p tmp-name))
(shell-command
(format "ls %s" (file-name-nondirectory tmp-name)) (current-buffer))
@ -1164,7 +1164,7 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'."
(unwind-protect
(with-temp-buffer
(write-region "foo" nil tmp-name nil)
(write-region "foo" nil tmp-name)
(should (file-exists-p tmp-name))
(async-shell-command
(format "ls %s" (file-name-nondirectory tmp-name)) (current-buffer))