1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 06:50:46 -08:00

Minor change in a comment

* test/src/callproc-tests.el
(call-process-w32-debug-spawn-error): Minor copyedits of the
commentary.
This commit is contained in:
Eli Zaretskii 2019-04-15 19:11:16 +03:00
parent 3ec22997a2
commit 74412e7dcb

View file

@ -51,11 +51,12 @@
(setq internal-when-entered-debugger -1))))
(should (eq :got-error ;; NOTE: `should-error' would inhibit debugger.
(condition-case-unless-debug ()
;; On Windows, "nul.FOO" act like an always-empty
;; file for any FOO, in any directory. So this
;; passes Emacs' test for the file's existence,
;; and ensures we hit an error in the w32 process
;; spawn code.
;; On MS-Windows, "nul.FOO" resolves to the null
;; device, and thus acts like an always-empty
;; file, for any FOO, in any directory. So
;; c:/null.exe passes Emacs' test for the file's
;; existence, and ensures we hit an error in the
;; w32 process spawn code.
(call-process "c:/nul.exe")
(error :got-error))))
(should have-called-debugger)))