branch: elpa/datetime
commit fed5a55a723c675196f34da302dee44853fcc5d1
Author: Paul Pogonyshev <pogonys...@gmail.com>
Commit: Paul Pogonyshev <pogonys...@gmail.com>

    Put stderr output of the testing program to a separate buffer, where it can 
be ignored.
---
 test/format.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/format.el b/test/format.el
index b2c7a07623..341df7d19d 100644
--- a/test/format.el
+++ b/test/format.el
@@ -45,7 +45,8 @@
     (setq times (list times)))
   (unless (process-live-p datetime--test-java-formatting-process)
     (let ((default-directory datetime--test-directory))
-      (setq datetime--test-java-formatting-process (start-process 
"java-formatter" "java-formatter" "java" "FormatTimestamp"))))
+      (setq datetime--test-java-formatting-process (make-process :name 
"java-formatter" :buffer "java-formatter" :stderr "java-formatter/stderr"
+                                                                 :command 
'("java" "FormatTimestamp")))))
   (let* ((marker        (process-mark datetime--test-java-formatting-process))
          (position      (marker-position marker))
          (num-times     (length times))

Reply via email to