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:
parent
3ec22997a2
commit
74412e7dcb
1 changed files with 6 additions and 5 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue