]> git.eshelyaron.com Git - emacs.git/commitdiff
Minor change in a comment
authorEli Zaretskii <eliz@gnu.org>
Mon, 15 Apr 2019 16:11:16 +0000 (19:11 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 15 Apr 2019 16:11:16 +0000 (19:11 +0300)
* test/src/callproc-tests.el
(call-process-w32-debug-spawn-error): Minor copyedits of the
commentary.

test/src/callproc-tests.el

index f351b6e21484c606d0ecfd858f4b02e8ec7ab1d6..1cad8360dea27b593aaf43302e38dab5dbf474ed 100644 (file)
                      (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)))